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

如何提升两个表关联条件的范围查询的性能。

Asked Feb 29, 2024 Modified Jan 1, 0001
Viewed 87
2.0

有两个表left join,关联字段int类型。关联条件a.字段>=b.字段1 and a.字段<=b.字段2,目前两个表数据量不大(a表100万,b表1千万)。查询超时。目前对b表增加BloomFilter,没啥效果。数据库版本2.02。不知道还有什么优化方法。

edited Jan 1, 0001
Frankehp3
asked Feb 29, 2024
2 Answers

可以对这两张表进行 analyze,参考链接:https://doris.apache.org/zh-CN/docs/query-acceleration/statistics/

edited Jan 1, 1970
mink211
answered Feb 29, 2024

文档写的是2.03版本才支持。

edited Jan 1, 1970
Frankehp3
answered Feb 29, 2024
Related Questions
Doris 2.0.15,3FE、6BE(3BE mix角色 3BE computation角色)3个mix角色的BE节点CPU使用率100%
1 answers
Doris Routine Load自动恢复机制
我的doris版本为2.0.6 在备份操作时,会导致所以fe节点宕机,这种情况该怎么排查,为什么备份会导致这个问题?
1 answers
doris fe节点变更成高可用配置
1 answers
各位大哥在通过k8s安装doris3.0的时候,有没有遇到cg启动不起来,提示Set max number of open file descriptors to a value greater than 60000.
1 answers
doris主键表可以bucket配置太小,怎么修改?
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 中文技术论坛.