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

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

Asked Feb 26, 2025 Modified Jan 1, 0001
Viewed 135
2.1

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

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

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

edited Jan 1, 1970
张彬华7698
answered Feb 26, 2025
Related Questions
SelectDB Doris 2.1.8-3 升级使用灵活部分列更新,推荐版本及升级流程咨询
1 answers
Flink Connector 26.3.0 读取 DATETIME 变成 1970 年,切换 25.0.0 后正常
1 answers
max_by会不会忽略null值
1 answers
Apache Doris Dashboard未授权访问漏洞
1 answers
Apache Doris默认口令登录漏洞
Doris2.1.6升级为Doris2.1.11后全部be节点进程频繁停止运行
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 中文技术论坛.