获取关于超表的元数据信息。
有关使用超表的更多信息,包括数据块大小分区,请参阅超表部分。
名称 | 类型 | 描述 |
---|---|---|
hypertable_schema | 文本 | 超表的模式名称 |
hypertable_name | 文本 | 超表的表名称 |
owner | 文本 | 超表的所有者 |
num_dimensions | 小整型 | 维度数量 |
num_chunks | 大整型 | 数据块数量 |
compression_enabled | 布尔型 | 超表上是否启用了压缩? |
is_distributed | 布尔型 | 超表是否是分布式的? |
replication_factor | 小整型 | 分布式超表的复制因子 |
data_nodes | 文本 | 超表分布在其上的节点 |
tablespaces | 文本 | 附加到超表的表空间 |
获取关于超表的信息。
CREATE TABLE metrics(time timestamptz, device int, temp float);SELECT create_hypertable('metrics','time');SELECT * from timescaledb_information.hypertables WHERE hypertable_name = 'metrics';-[ RECORD 1 ]-------+--------hypertable_schema | publichypertable_name | metricsowner | svennum_dimensions | 1num_chunks | 0compression_enabled | ftablespaces | NULL
关键词
在此页面上发现问题?报告问题 或 在 GitHub 上编辑此页面。