Apache Doris 中文技术论坛
Questions Tags Users Badges

doris怎么增加多个分区?

Asked Feb 13, 2025 Modified Jan 1, 0001
Viewed 61
2.1

官网增加分区只有增加单个分区,ALTER TABLE example_db.my_table
ADD PARTITION p1 VALUES LESS THAN ("2014-01-01");
如果要增加多个分区怎么写

edited Jan 1, 0001
wakin7
asked Feb 13, 2025
1 Answers

你可以考虑下自动分区和动态分区
https://doris.apache.org/zh-CN/docs/table-design/data-partitioning/dynamic-partitioning
https://doris.apache.org/zh-CN/docs/table-design/data-partitioning/auto-partitioning

edited Jan 1, 1970
徐振超@SelectDB(可以直接加微信Faith_xzc)8286
answered Feb 13, 2025
Related Questions
2.1.11版本,新优化器,执行计划隐式类型转换丢失精度,导致数据不一致
1 answers
doris2.0.7集群迁移到新搭建的doris2.1.11集群
1 answers
多台BE节点异常宕机
1 answers
workload groups 设置是否合理
1 answers
flink更新Doris数据
1 answers
be streamload任务超时被取消但scanner线程出现coredump
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.