TableDistStyle
- class aws_cdk.aws_redshift.TableDistStyle(value)
Bases:
Enum
(experimental) The data distribution style of a table.
- Stability:
experimental
- ExampleMetadata:
fixture=cluster infused
Example:
Table(self, "Table", table_columns=[Column(name="col1", data_type="varchar(4)", dist_key=True), Column(name="col2", data_type="float") ], cluster=cluster, database_name="databaseName", dist_style=TableDistStyle.KEY )
Attributes
- ALL
(experimental) A copy of the entire table is distributed to every node.
- Stability:
experimental
- AUTO
(experimental) Amazon Redshift assigns an optimal distribution style based on the table data.
- Stability:
experimental
- EVEN
(experimental) The data in the table is spread evenly across the nodes in a cluster in a round-robin distribution.
- Stability:
experimental
- KEY
(experimental) The data is distributed by the values in the DISTKEY column.
- Stability:
experimental