Skip to main content
Since 2.18.0 Retrieve the compression settings for each in the .

Samples

To retrieve information about settings:
  • Show settings for all s in the :
    SELECT * FROM timescaledb_information.chunk_columnstore_settings
    
    Returns:
    hypertable | chunk | segmentby | orderby
    ------------+-------+-----------+---------
    measurements | _timescaledb_internal._hyper_1_1_chunk| | "time" DESC
    
  • Find all settings for a specific :
    SELECT *
    FROM timescaledb_information.chunk_columnstore_settings
    WHERE hypertable::TEXT LIKE 'metrics';
    
    Returns:
    hypertable | chunk | segmentby | orderby
    ------------+-------+-----------+---------
    metrics | _timescaledb_internal._hyper_2_3_chunk | metric_id | "time"
    

Returns

NameTypeDescription
hypertableREGCLASSThe name of the in the .
chunkREGCLASSThe name of the in the hypertable.
segmentbyTEXTThe list of columns used to segment the hypertable.
orderbyTEXTThe list of columns used to order the data in the hypertable, along with the ordering and NULL ordering information.
indexTEXTThe sparse index details.