Shows information about compression settings for each hypertable that has compression enabled on it.
Name | Type | Description |
---|---|---|
hypertable | REGCLASS | Hypertable which has compression enabled |
segmentby | TEXT | List of columns used for segmenting the compressed data |
orderby | TEXT | List of columns used for ordering compressed data along with ordering and NULL ordering information |
compress_interval_length | TEXT | Interval used for rolling up chunks during compression |
Show compression settings for all hypertables:
SELECT * FROM timescaledb_information.hypertable_compression_settings'hypertable | measurementssegmentby |orderby | "time" DESCcompress_interval_length |
Find compression settings for a specific hypertable:
SELECT * FROM timescaledb_information.hypertable_compression_settings WHERE hypertable::TEXT LIKE 'metrics';hypertable | metricssegmentby | metric_idorderby | "time"compress_interval_length |
Keywords
Found an issue on this page?Report an issue or Edit this page in GitHub.