显示有关每个已启用压缩的超表的压缩设置的信息。

名称类型描述
hypertableREGCLASS已启用压缩的超表
segmentbyTEXT用于分段压缩数据的列列表
orderbyTEXT用于排序压缩数据的列列表,以及排序和 NULL 排序信息
compress_interval_lengthTEXT用于压缩期间上卷未压缩数据块的间隔

显示所有超表的压缩设置

SELECT * FROM timescaledb_information.hypertable_compression_settings'
hypertable | measurements
segmentby |
orderby | "time" DESC
compress_interval_length |

查找特定超表的压缩设置

SELECT * FROM timescaledb_information.hypertable_compression_settings WHERE hypertable::TEXT LIKE 'metrics';
hypertable | metrics
segmentby | metric_id
orderby | "time"
compress_interval_length |

关键词

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