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

第一次查询很慢,之后查询为毫秒,如何优化

Asked Feb 26 Modified Jan 1, 0001
Viewed 75
2.1

目前了解到的是第一次查询时,数据会从源获取并缓存起来,之后的查询会直接从内存中读取,因此速度会大大提升。
有什么优化方案吗

edited Jan 1, 0001
一只小蜜蜂15
asked Feb 26
1 Answers

大部分SQL任务都是这种情况?Cache优化当前能满足应用场景不;
可以对比下快和慢的profile,确定下差异点:https://doris.apache.org/zh-CN/docs/query-acceleration/performance-tuning-overview/analysis-tools

edited Jan 1, 1970
张彬华7678
answered Feb 26
Related Questions
求助!x2doris同步经常中断
1 answers
fe节点jvm gc频繁,偶尔出现fe节点be节点通讯报错
自动分区与动态分区联用分区名称不一致
1 answers
Apache Doris内存不够,为什么不像spark一样排队处理,Tablet排队一个个处理,而是报错,请问这个解释对吗
1 answers
具有 GRANT_PRIV 权限的用户无法执行 CREATE-ROW-POLICY
1 answers
为什么相同的内存,执行一样的任务,spark可以执行完,但是doris却报内存不足错误,doris已经调整了单个任务可以使用集权资源的80%
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 中文技术论坛.