【发布时间】:2021-07-15 22:59:37
【问题描述】:
我想知道是否有关于时间序列数据标准化的最佳做法。 我在 TimescaleDB 中有一个看起来像这样的超表
Table "public.mainsfrequency"
Column | Type | Collation | Nullable | Default
----------+-----------------------------+-----------+----------+---------
time | timestamp without time zone | | not null |
host | text | | |
location | text | | |
freq | double precision | | |
将host 和location 标准化为单独的(非超)表并在上述超表中使用外键是个好主意吗?我读过不支持使用外键引用超表,但是另一个方向呢?
【问题讨论】:
标签: timescaledb