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

doris怎么增加多个分区?

Asked Feb 13, 2025 Modified Jan 1, 0001
Viewed 53
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
徐振超@SelectDB8151
answered Feb 13, 2025
Related Questions
streamloaderd成功执行,但是没有导入数据到表里。
1 answers
doris2.1.11重复建表报错内容异常,不会提示表已经存在
1 answers
AUTO LIST PARTITION 分区名长度为何限制 50?能否配置放宽/取消?
我们通过hive catalog外表同步数据,有时候hive表会很大导致内存占满了会杀掉其他任务,限制内存又会导致同步任务失败,有什么方法可以稳定一下呢,同步效率慢一点什么的也没问题
1 answers
doris be启动报错
2 answers
Doris的json解析问题
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 中文技术论坛.