feat: 更新文档和数据库管理逻辑,添加运行模式说明,修复分区表空间设置

This commit is contained in:
2026-03-03 20:22:01 +08:00
parent c0cdc9ea66
commit 2b529baeb3
7 changed files with 40 additions and 81 deletions

View File

@@ -69,6 +69,7 @@
## 3. 分区策略与自动分区
- 分区键:`ts_ms`
- 粒度按天Asia/Shanghai自然日
- 新建分区表空间:每日新分区显式创建在 `ts_hot`(非 `pg_default`
- 自动分区:通过“预创建分区”的方式实现(安装时预建昨天~未来 7 天),并提供函数供服务启动/定时任务调用
调用方式: