为什么查询命中rollup之后查询反而变慢了 #8024
Unanswered
LangYuanzh
asked this question in
Q&A
Replies: 3 comments
-
数据量太少的时候,rollup意义不大。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
是多执行几次的结果吗? 看是不是缓存的原因 |
Beta Was this translation helpful? Give feedback.
0 replies
-
看一下profile |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Doris 版本0.15
查询一张Uniq表 table_test,总共40个字段,其中UNIQUE KEY为(
a(int)
,b(int)
,c(int)
,d(date)
,e(varchar)
,f(varchar)
);数据量:25000条数据
查询语句: select xxx from table_test where d = '2021-01-01' and e in (... 总共78个字段); 查询结果为78条数据。
d(date)
,e(varchar)
,a(int)
,b(int)
,c(int)
,f(varchar)
),查询执行计划命中该rollup,但是查询时间增加至0.2秒多。Beta Was this translation helpful? Give feedback.
All reactions