Timescale Cloud:性能、规模、企业级

自托管产品

MST

检索列式存储中每个分块的压缩设置。

始于 TimescaleDB v2.18.0

检索设置信息

  • 显示列式存储中所有分块的设置:

    SELECT * FROM timescaledb_information.chunk_columnstore_settings

    返回

    hypertable | chunk | segmentby | orderby
    ------------+-------+-----------+---------
    measurements | _timescaledb_internal._hyper_1_1_chunk| | "time" DESC
  • 查找特定超表的所有分块列式存储设置:

    SELECT *
    FROM timescaledb_information.chunk_columnstore_settings
    WHERE hypertable::TEXT LIKE 'metrics';

    返回

    hypertable | chunk | segmentby | orderby
    ------------+-------+-----------+---------
    metrics | _timescaledb_internal._hyper_2_3_chunk | metric_id | "time"
名称类型默认值必填描述
hypertableREGCLASS-列式存储中超表的名称
chunkREGCLASS-hypertable 中的分块名称
segmentbyTEXT-用于分割 hypertable 的列列表
orderbyTEXT-用于在 hypertable 中排序数据的列列表。以及排序和 NULL 排序信息。

关键词

此页面有发现问题吗?报告问题 或 编辑此页面 在 GitHub 上。