Redshift Flashcards

1
Q

Update table statistics

A

ANALYZE table_name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Sort keys

A

1 or more columns. Stored on disk in sorted order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Debug query

A

EXPLAIN plan
Set STATISTICS IO ON
Set STATISTICS TIME ON

How well did you know this?
1
Not at all
2
3
4
5
Perfectly