(redshift): support configurable SORTKEY
and DISTKEY
in tables
#17125
Labels
@aws-cdk/aws-redshift
Related to Amazon Redshift
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p1
Description
As a Redshift user.
I'd like to be able to define a
DISTKEY
andSORTKEY
in my tables.So that I can optimize my table query performance.
Use Case
Say I have a table with many rows (200 million+) with a query time of 20 seconds, I'd like to improve query times by optimizing the tables to better suit the shape of my data and common queries.
Proposed Solution
Add support for configuring a
sortKey
anddistKey
prop in the Redshift Table construct.Other information
It looks like Redshift Tables are created via API instead of a typical CFN resource:
This means escape hatches are not a viable workaround.
Acknowledge
The text was updated successfully, but these errors were encountered: