This documentation describes the integration of MindsDB with Amazon Redshift, a fully managed, petabyte-scale data warehouse service in the cloud. You can start with just a few hundred gigabytes of data and scale to a petabyte or more, enabling you to use your data to acquire new insights for your business and customers.
Before proceeding, ensure the following prerequisites are met:
Establish a connection to your Redshift database from MindsDB by executing the following SQL command:
Required connection parameters include the following:
host
: The host name or IP address of the Redshift cluster.port
: The port to use when connecting with the Redshift cluster.database
: The database name to use when connecting with the Redshift cluster.user
: The username to authenticate the user with the Redshift cluster.password
: The password to authenticate the user with the Redshift cluster.Optional connection parameters include the following:
schema
: The database schema to use. Default is public.sslmode
: The SSL mode for the connection.Retrieve data from a specified table by providing the integration name, schema, and table name:
Run Amazon Redshift SQL queries directly on the connected Redshift database:
The above examples utilize redshift_datasource
as the datasource name, which is defined in the CREATE DATABASE
command.
Database Connection Error
SQL statement cannot be parsed by mindsdb_sql
This troubleshooting guide provided by AWS might also be helpful.