Help › Connect to databases
Connect to Amazon Redshift
What a Redshift cluster or Serverless workgroup connection needs, how to sign in with a password or AWS IAM, and what differs from PostgreSQL.
Querlyn 0.1.0 is not released yet. This help describes it ahead of release.
Querlyn connects to Amazon Redshift provisioned clusters and Redshift Serverless workgroups in the same way: you give the endpoint, and Querlyn tells the two apart from the host name.
What you need
- The endpoint's host name, for example
examplecluster.abc123xyz789.us-west-2.redshift.amazonaws.com, and its port (usually 5439). - A database user and its password, or AWS credentials for an IAM sign-in.
- The database to open. If you leave it empty, Querlyn opens
dev.
Fill in the dialog
- Choose and, under Database engine, Amazon Redshift.
- Enter the Host. Port already says 5439.
- Enter the Database and the User.
- Choose how to sign in under Authentication; see below.
- Leave TLS at Verify full. Redshift's certificates are issued by Amazon's public certificate authority, so no CA file is needed.
- Choose Test Connection, then Save & Connect.
A cluster in a private network needs a Route; see Reach a database through SSH and Kubernetes and SSM tunnels.
Sign in
Password signs in with the database user's password.
AWS IAM asks AWS for temporary database credentials each time a session opens, using the AWS credentials already on your computer. It adds these fields:
| Field | What to enter |
|---|---|
| AWS profile | The profile in your AWS configuration to use. Empty means the default one. |
| AWS region | Empty takes the region from the host name. |
| Redshift | Provisioned cluster or Serverless. Querlyn chooses from the host name. |
| Cluster ID or Workgroup | Empty takes it from the host name. |
| Use my IAM identity as the database user | For a provisioned cluster: sign in as your IAM identity and ignore User. Serverless always does this. |
| Create the database user if it does not exist | Asks Redshift to create User on first sign-in. Off by default. |
| Database groups | Groups the user joins for the session, separated by commas. Optional. |
Sign in with AWS or Entra ID explains where the AWS credentials come from.
Note: A database user whose password Redshift stores with its SHA-256 hash cannot sign in with Password. Use AWS IAM for that user.
What differs from PostgreSQL
Redshift speaks PostgreSQL's protocol but is its own database.
- A session per database, as on PostgreSQL. The sidebar lists every database of the cluster. A tab on another database (chosen in the bar above the editor, or opened from something under that database) gets a session of its own there; see Choose a tab's connection and database.
- Keys are not enforced. Redshift records primary, unique and foreign keys but does not check them. The sidebar says Keys not enforced under a table's Properties, and when you edit rows Querlyn checks that each change touched exactly one row.
- Tables show how they are stored. A table's Properties folder lists its distribution style and sort key; a column's tooltip shows its encoding and whether it is the distribution key or part of the sort key.
- Spectrum is listed. External schemas appear with their tables. The rows of an external table cannot be edited.
- No savepoints. Inside a transaction you opened yourself, editing rows in the results and Explain are refused; commit or roll back first.
- Explain shows Redshift's text plan, with where each step runs and how rows move between nodes. There is no Explain Analyze.
SUPERandVARBYTEvalues can be read but not edited or imported. Write them in a query tab withJSON_PARSE('…')orFROM_HEX('…').- Server Activity shows your own sessions unless your user may see everyone's; the view names the setting that shows more.
- Read-only is Querlyn's check. The server is not asked to hold the session read-only.
- The table designer has a Distribution and Sort Key section and refuses the changes Redshift cannot make to an existing table, saying what to do instead.
What Querlyn does not do
- Backup and restore. Redshift has no dump tool that runs on your
computer; use snapshots in AWS, or
UNLOAD. - The "blocking others" notice, lock and statement timeouts, and migration lock warnings.
- Sequences and triggers: Redshift has none.
Help for Querlyn 0.1.0. All help topics