Redshift Observatory

System Table Tracker

System view pg_catalog.svcs_s3partition_elimination version 1.0.76913 / 2024-10-24

schema name column data type
pg_catalog svcs_s3partition_elimination assigned_partitions int4
pg_catalog svcs_s3partition_elimination assignment char(1)
pg_catalog svcs_s3partition_elimination duration int8
pg_catalog svcs_s3partition_elimination endtime timestamp
pg_catalog svcs_s3partition_elimination node int4
pg_catalog svcs_s3partition_elimination qualified_partitions int4
pg_catalog svcs_s3partition_elimination query int4
pg_catalog svcs_s3partition_elimination scan_type int4
pg_catalog svcs_s3partition_elimination segment int4
pg_catalog svcs_s3partition_elimination slice int4
pg_catalog svcs_s3partition_elimination starttime timestamp
pg_catalog svcs_s3partition_elimination total_partitions int4
pg_catalog svcs_s3partition_elimination userid int4
pg_catalog svcs_s3partition_elimination uuid char(36)

View Text

SELECT stcs.userid,
       map.primary_query AS query,
       stcs.uuid,
       stcs.segment,
       stcs.node,
       stcs.slice,
       CAST('1970-01-01 00:00:00' AS timestamp) + (CAST((CAST(stcs.starttime AS numeric) / (1000.0 * 1000.0)) + 946684800.0 AS double precision) * CAST('00:00:01' AS interval)) AS starttime,
       CAST('1970-01-01 00:00:00' AS timestamp) + (CAST((CAST(stcs.endtime AS numeric) / (1000.0 * 1000.0)) + 946684800.0 AS double precision) * CAST('00:00:01' AS interval)) AS endtime,
       stcs.total_partitions,
       stcs.qualified_partitions,
       stcs.assignment,
       stcs.duration,
       stcs.assigned_partitions,
       stcs.scan_type
FROM stcs_s3partition_elimination AS stcs
     INNER JOIN stcs_concurrency_scaling_query_mapping AS map ON map.concurrency_scaling_query = stcs.query
WHERE stcs.__cluster_type = CAST('cs' AS bpchar)
  AND to_date(CAST(stcs.__log_generated_date AS text),
              CAST('YYYYMMDD' AS text)) > (getdate() - CAST('7 days' AS interval))
  AND to_date(CAST(map.__log_generated_date AS text),
              CAST('YYYYMMDD' AS text)) > (getdate() - CAST('7 days' AS interval))
  AND CAST(map.concurrency_scaling_cluster AS text) = split_part(CAST(stcs.__path AS text),
                                                                 CAST('/' AS text),
                                                                 10)


Home 3D Друк Blog Bring-Up Times Consultancy Cross-Region Benchmarks Email Forums IRC Mailing Lists Reddit Redshift Price Tracker Redshift Version Tracker Redshift Workbench System Table Tracker The Known Universe Twitter White Papers