Fivetran
Fivetran documentation
Search the docs
/
Sign In
  • Getting Started
  • Core Concepts
  • Deployment Models
  • Using Fivetran
  • Usage-Based Pricing
  • Connectors
  • Destinations
    • Connection Options
    • Apache Kafka
    • Azure Data Lake Storage
    • Azure Synapse
    • BigQuery
    • ClickHouse Cloud
    • Databricks
    • Managed Data Lakes Service
    • Materialize
    • Milvus
    • MotherDuck
    • MySQL
    • OneLake
    • PostgreSQL
    • Redshift
      • Setup Guide
      • Troubleshooting
        • Change SORT or DIST Key
      • Release Notes
    • S3 Data Lake
    • SingleStore
    • Snowflake
    • SQL Server
    • Teradata Vantage
    • Troubleshooting
  • Connector SDK
  • By Request
  • Partner-Built
  • Transformations
  • Logs
  • Security
  • Privacy
  • REST API
  • Release Notes
  • HVR 6 Documentation
  • HVR 5 Documentation

How Can I Change Sort or Dist Keys Dynamically?

Question

How can I change the Redshift sort or dist keys using a single command or dynamically?

Environment

Redshift destination

Answer

Do the following:

  1. Pause the connector.
  2. Follow Redshift's instructions to change the sort keys or dist keys.
  3. Unpause the connector.
Thanks for your feedback!
Was this page helpful?
On this page
Loading...
More from Fivetran
Fivetran status
Contact us
Need help?
Contact support
Sign inCreate an account
BlogCase studiesResource center
Fivetran
©2024 Fivetran Inc.