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

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

Asked Feb 26 Modified Jan 1, 0001
Viewed 87
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
张彬华7688
answered Feb 26
Related Questions
一个简单的sql示例还有哪些优化的策略可以尝试下
查询导致Doris宕机
1 answers
2.1.9 冷数据转存华为obs 一直报删除数据失败,怀疑是清除历史数据失败 @version 2.1.9
1 answers
fe节点加入集群时报错
1 answers
大佬们求助,授予角色可以创建catalog的权限报错
1 answers
不同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 中文技术论坛.