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

数据倾斜问题

Asked Jul 7, 2025 Modified Jan 1, 0001
Viewed 59
2.1 cluster

有一个宽表,双分区日期+车厂号,每个车厂数据量差异较大,如何合理的设置分桶,才能避免数据倾斜问题

edited Jan 1, 0001
xiaoxiaole1
asked Jul 7, 2025
1 Answers

双分区是怎么写的呢? Doris 中目前只支持 Range 或 List 分区。
如果没有可以将数据打散的列,可以走 random bucket。
其次,合理分桶数量:手动设置分桶数

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9185
answered Jul 14, 2025
Related Questions
streamload使用jsonroot导入超大数组chunk问题
rocketmq-connect-doris集成任务正确启动命令是什么样的?
执行sql,be就直接挂了,doris是2.1.3版本
1 answers
doris2.1 非merge-on-write unique表创建倒排索引
1 answers
powerBI直连doris 报错Failed to prepare statement try to set enable_server_side_prepared_statement=true 和Unsupported MySQL type: BLOB.
doris 2.1.8 select 字段子查询不支持where条件
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 中文技术论坛.