Amazon Redshift

Data Source Details

Use the following information when creating a data source for your Amazon Redshift database:

  • The JDBC URL must be in the following format:


  • Basic authentication is supported. Specify user and password.

  • If you use native authentication inside your cloud platform (for example, Google Cloud Platform, Amazon Web Services, or Microsoft Azure), you do not have to provide the username and password.

GoodData Cloud Native (GoodData.CN) uses the driver with version

Unsupported Features

GoodData.CN does not support the following features:

  • Statistical functions:
    • regr_slope
    • regr_intercept
    • covar_samp
    • corr
    • regr_r2
  • Statistical running functions:
    • stdev
    • stdevp
    • var
    • varp
  • Period-over-period comparison with periodical date granularity (for example HourInDay or DayOfWeek)

Performance Tips

If your database holds a large amount of data, consider the following practices:

  • Denormalize the relational data model of your database.

    This helps avoid large JOIN operations. Because Amazon Redshift is a columnar database, queries read only the required columns and each column is compressed separately.

  • Choose the best sort key.

    • Use the columns that are most frequently used for JOIN and aggregation operations. Those columns are typically mapped to attributes that are most frequently used for aggregations in insights.
    • If you have to build analytics for multiple mutually exclusive use cases, prepare a separate table for each use case.
  • Choose the best distribution style. At least, use a column with high cardinality so that loaded data is evenly distributed in your cluster.

  • Spin up databases/clusters based on user needs.

    • Users with similar needs populate data into caches that are likely reused.
    • Isolate data transformation operations running in your database from the analytics generated by GoodData.CN.
  • Because Amazon Redshift does not support partitioning, use a related DATE or TIMESTAMP column as one of the sort keys to improve performance of insights using only the recent data.

Permitted parameters

  • adaptiveFetch
  • adaptiveFetchMaximum
  • adaptiveFetchMinimum
  • allowEncodingChanges
  • ApplicationName
  • assumeMinServerVersion
  • autosave
  • binaryTransferDisable
  • binaryTransferEnable
  • cleanupSavepoints
  • connectTimeout
  • currentSchema
  • defaultRowFetchSize
  • disableColumnSanitiser
  • escapeSyntaxCallMode
  • gssEncMode
  • hostRecheckSeconds
  • loadBalanceHosts
  • localSocketAddress
  • loggerFile
  • loggerLevel
  • loginTimeout
  • logServerErrorDetail
  • logUnclosedConnections
  • maxResultBuffer
  • options
  • preferQueryMode
  • preparedStatementCacheQueries
  • preparedStatementCacheSizeMiB
  • prepareThreshold
  • readOnly
  • receiveBufferSize
  • reWriteBatchedInserts
  • sendBufferSize
  • socketFactory
  • socketFactoryArg
  • socketTimeout
  • ssl
  • sslcert
  • sslfactory
  • sslfactoryarg
  • sslhostnameverifier
  • sslmode
  • sslpassword
  • sslpasswordcallback
  • sslrootcert
  • targetServerType
  • tcpKeepAlive