Scenario : I have to change existing table's column encoding
a) If I execute ANALYZE COMPRESSION table_name ---this approach is suggested to use ZSTD compression for all columns including SORT-KEY column.
b) I have created new table using existing table’s DDL and used copy command in order to get column compression encoding (Copy select column compression encoding when load data into an empty table) ---COPY command suggested LZO for all columns including SORT-KEY column.
Question :
Which approach is correct or optimised ? SORT-KEY column compression is bad so will ZSTD for SORT-KEY column improve performance ?