Redshift Flashcards
1
Q
Update table statistics
A
ANALYZE table_name
2
Q
Distribution styles
A
Key: Dist. according to values in one column
Even: Rows dist. round robin style
All: Entire table copied to each node
3
Q
Sort keys
A
1 or more columns. Stored on disk in sorted order
4
Q
Debug query
A
EXPLAIN plan
Set STATISTICS IO ON
Set STATISTICS TIME ON