snippits of useful postgres sql code for amazon redshift platform
-
[get table sizes] (https://github.com/mxento/redshift_snippets/blob/master/get_table_sizes.sql)
-
[check currently running pids] (https://github.com/mxento/redshift_snippets/blob/master/check_pids.sql)
-
[analyze table compression] (https://github.com/mxento/redshift_snippets/blob/master/analyze_compression.sql)