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

分区表查询分区字段触发全表扫描

Asked Aug 25 Modified Jan 1, 0001
Viewed 28
2.1

在分区表中使用DT类型作为分区字段,当执行以下查询时会执行全表扫描,希望对该场景进行优化

SELECT max(dt_field) FROM table_name
edited Jan 1, 0001
GabrielHuang1
asked Aug 25
1 Answers

这个不好优化了,因为 fe 不知道分区里面有没有数据

edited Aug 29
徐振超@SelectDB7951
answered Aug 28
Related Questions
Doris 2.1.5 process memory used 38.63 GB exceed limit 452.92 GB or sys available memory 389.51 GB less than low water mark 6.40 GB.
doris 2.1版本的FE把用户和权限数据存储在FE节点的bdb里面吗?
1 answers
spark读取doris并行度设置不起作用
version 2.1.9 doris 转华为obs 报错,华为云反馈使用删除对象 使用post 接口错误
一个简单的sql示例还有哪些优化的策略可以尝试下
查询导致Doris宕机
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 中文技术论坛.