Starburst PostgreSQL connector#

The Starburst PostgreSQL connector is an extended version of the PostgreSQL connector with configuration and usage identical.

The following improvements are included:


SQL support#

The connector supports all of the SQL statements listed in the PostgreSQL connector documentation.


The connector includes a number of performance improvements, detailed in the following sections.

Table statistics#

This feature is available for free, and does not require a valid license.

The PostgreSQL connector supports table and column statistics to improve query processing performance based on the actual data in the data source.

The statistics are collected by PostgreSQL and retrieved by the connector.

To collect statistics for a table, execute the following statement in PostgreSQL.

ANALYZE table_schema.table_name;

Refer to PostgreSQL documentation for additional ANALYZE options.


The connector supports pushdown for a number of operations:

Dynamic filtering#

Dynamic filtering is enabled by default. It causes the connector to wait for dynamic filtering to complete before starting a JDBC query.

You can disable dynamic filtering by setting the property dynamic-filtering.enabled in your catalog properties file to false.

Starburst Cached Views#

The connectors supports table scan redirection to improve performance and reduce load on the data source.


The connector includes a number of security-related features, detailed in the following sections.

User impersonation#

The PostgreSQL connector supports user impersonation.

User impersonation can be enabled in the catalog file:


User impersonation in PostgreSQL connector is based on SET ROLE. For more details visit:

Kerberos authentication#

The PostgreSQL connector supports Kerberos-based authentication with the following configuration:


With this configuration the user, defined in the principal property, is used to connect to the database, and the related Kerberos service ticket is located in the example.keytab file.

Kerberos credential pass-through#

The PostgreSQL connector can be configured to pass through Kerberos credentials, received by SEP, to the PostgreSQL database.

Configure Kerberos and SEP, following the instructions in Kerberos credential pass-through.

Then configure the connector to pass through the credentials from the server to the database in your catalog properties file and ensure the Kerberos client configuration properties are in place on all nodes.


Now any database access via SEP is subject to the data access restrictions and permissions of the user supplied via Kerberos.

Password credential pass-through#

The connector supports password credential pass-through. To enable it, edit the catalog properties file to include the authentication type:


For more information about configurations and limitations, see Password credential pass-through.

IAM authentication#

When the PostgreSQL database is deployed as an AWS RDS instance, the connector can use IAM authentication. This enhancement allows you to manage access control from SEP with IAM policies.


To enable IAM authentication, add the following configuration properties to the catalog configuration file:

connection-user=<RDS username>
aws.region-name=<AWS region>

You can also configure the connector to assume a specific IAM role for authentication before creating the access token, in order to apply policies specific to SEP. Alongside this role, you must include an (informal) external identifier of a user to assume this role.

To apply an IAM role to the connector, add the following configuration properties:


This table describes the configuration properties for IAM authentication:

IAM configuration properties#

Property name




The database account used to access the RDS database instance.


The name of the AWS region in which the RDS instance is deployed.


(Optional) Set an IAM role to assume for authentication before creating the access token. If set, aws.external-id must be configured as well.


(Optional) The informal identifier of the user who assumes the IAM role set in aws.iam-role.


The amount of time to keep the generated RDS access tokens for each user before they are regenerated. The maximum value is 15 minutes.



The access key of the principal to authenticate with for the token generator service. Used for fixed authentication, setting this property disables automatic authentication.


The secret key of the principal to authenticate with for the token generator service. Used for fixed authentication, setting this property disables automatic authentication.


(Optional) A session token for temporary credentials, such as credentials obtained from SSO. Used for fixed authentication, setting this property disables automatic authentication.


By default the connector attempts to automatically obtain its authentication credentials from the environment. The default credential provider chain attempts to obtain credentials from the following sources, in order:


  2. Java system properties: aws.accessKeyId and aws.secretKey.

  3. Web identity token: credentials from the environment or container.

  4. Credential profiles file: a profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI.

  5. EC2 service credentials: credentials delivered through the Amazon EC2 container service, assuming the security manager has permission to access the value of the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variable.

  6. Instance profile credentials: credentials delievered through the Amazon EC2 metadata service.

If the SEP cluster is running on an EC2 instance, these credentials most likely come from the metadata service.

Alternatively, you can set fixed credentials for authentication. This option disables the container’s automatic attempt to locate credentials. To use fixed credentials for authentication, set the following configuration properties:


# (Optional) You can use temporary credentials. For example, you can use temporary credentials from SSO