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

doris怎么增加多个分区?

Asked Feb 13 Modified Jan 1, 0001
Viewed 47
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
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
徐振超@SelectDB7931
answered Feb 13
Related Questions
doris2.1.7 truncate table xxx 及 create table 报错,faied to find enugh backend
1 answers
flinksql写Doris标记删除时'sink.enable-delete' = 'false'的含义
1 answers
doris无法对包含.的文本进行分词
1 answers
2.1.0 BE OOM,内存分析求助
1 answers
doris be节点会不定期在凌晨02:00 崩溃
1 answers
经常出现查询超时问题 P99 查询延迟特别高
1 answers

Terms of service Privacy policy

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