This data destination connector sends data to a Redshift database. It can either write data to an existing Redshift database, or to a new database it provisions to you. The latter case is useful for sharing your data in form of an SQL database with some service. For example, you can use it to send data to Tableau or PowerBI.
Create a new configuration of the Redshift data destination connector.
The first step is to Set Up Credentials:
There are two modes of operation of the connector:
You need to provide a host name, user name, password, database name, and schema.
We highly recommend that you create dedicated credentials for the connector in your Redshift database. You can use the following SQL code to get started:
It is also possible to secure the connection using an SSH tunnel.
A Keboola Redshift database is created by the connector and the credentials are provisioned for you:
You can share the credentials with services that need to access your data — for example, with Tableau Online. Note that the database is provided solely for the purpose of sharing your existing data with the outside world. This means that it must not be receiving any data (outside those provided by the connector itself, of course). This is a contractual limitation. Also note that the number of provisioned Redshift databases is part of project limits.
Note: This feature is available only for projects with the Redshift Storage backend. If you need a provisioned database in non-Redshift projects, use the Snowflake data destination connector for the purpose.
The next step is to configure the tables you want to write. Click Add New Table and select an existing table from Storage:
The next step is to specify table configuration. Use the preview icon to peek at the column contents.
For each column you can specify its
IGNORE
means that column will not be present in the destination table.NULL
will be converted to an actual NULL
.When done configuring the columns, don’t forget to Save the settings.
At the top of the page, you can specify the target table name and additional load options. There are two main options how the connector can write data to tables — Full Load and Incremental Load.
In the Incremental Load, the data are bulk inserted into the destination table and the table structure must match (including the data types). That means the structure of the target table will not be modified. If the target table doesn’t exist, it will be created. If a primary key is defined on the table, the data is upserted. If no primary key is defined, the data is inserted.
In the Full Load mode, the table is completely overwritten including the table structure. The table is removed
using the DROP
command and recreated. The
DROP
command needs to acquire a table-level lock.
This means that if the database is used by other applications which acquire table-level locks, the connector may
freeze waiting for the locks to be released. See the Redshift docs
for more details.
Additionally, you can specify a Primary key of the table, a simple column Data filter, and a filter for incremental processing.
The connector offers the option to create a Keboola Provisioned database for you. You can use this database to connect Keboola to a wide range of consumers — especially Business Intelligence tools and Analytics. The database can be queried in real time but is still completely isolated from your project Storage.
It is possible to use the Redshift connector to share data with Looker. To share data between your Keboola project and PowerBI, choose Keboola Redshift Database when configuring the credentials. The connector will create a dedicated database for you and give you credentials. Run the connector and when it is finished, you can connect the Looker data sources. Follow the official instructions. Note that you can skip a number of steps because a dedicated user is already created for you.
It is possible to use the Redshift connector to share data with Power BI Desktop or Tableau Online. To share data between your Keboola project and PowerBI, choose Keboola Redshift Database when configuring the credentials. The connector will create a dedicated database for you and give you credentials. Run the connector and when it is finished, you can connect the Power BI data sources. Follow the official instructions for Power BI Desktop.
It is possible to use the Redshift connector to share data with Qlik Sense and QlikView. To share data between your Keboola project and PowerBI, choose Keboola Redshift Database when configuring the credentials. The connector will create a dedicated database for you and give you credentials. Run the connector and when it is finished, you can connect the Qlik data sources. Follow the Qlik official integration guide.
It is possible to use the Redshift connector to share data with Tableau Desktop or Tableau Online. This is usually more efficient and faster than loading data through TDE files with the TDE data destination connector.
To share data between your Keboola project and Tableau, choose Keboola Redshift Database when configuring the credentials. The data destination connector will create a dedicated database for you and give you credentials. Run the connector and when it is finished, you can connect the Tableau data sources. Follow the official instructions for Tableau Desktop or for Tableau Online.