revert feat: 更新文档和数据库管理逻辑,添加运行模式说明,修复分区表空间设置
This commit is contained in:
2026-03-03 21:28:27 +08:00
parent 70e717ea5d
commit 5562288315
7 changed files with 81 additions and 40 deletions

View File

@@ -112,7 +112,7 @@ BEGIN
part_name := heartbeat.partition_name_for_day(p_day);
EXECUTE format(
'CREATE TABLE IF NOT EXISTS heartbeat.%I PARTITION OF heartbeat.heartbeat_events FOR VALUES FROM (%s) TO (%s) TABLESPACE ts_hot',
'CREATE TABLE IF NOT EXISTS heartbeat.%I PARTITION OF heartbeat.heartbeat_events FOR VALUES FROM (%s) TO (%s)',
part_name, start_ms, end_ms
);