ClickHouse/tests/performance/prefetch_in_aggregation.xml

33 lines
1.1 KiB
XML
Raw Normal View History

<test>
<substitutions>
<substitution>
<name>size</name>
<values>
<value>10000000</value>
<value>50000000</value>
</values>
</substitution>
<substitution>
<name>table</name>
<values>
<value>numbers</value>
<value>numbers_mt</value>
</values>
</substitution>
</substitutions>
<create_query>create table t_str_key_{size}(a String, b FixedString(25)) engine=MergeTree order by tuple()</create_query>
<fill_query>insert into t_str_key_{size} select toString(number) as s, toFixedString(s, 25) from numbers_mt({size})</fill_query>
<query>select a from t_str_key_{size} group by a format Null</query>
<query>select b from t_str_key_{size} group by b format Null</query>
<query>select number from {table}({size}) group by number format Null</query>
<query>select count() from {table}({size}) group by number format Null</query>
<query>select number from numbers_mt(1e8) group by number format Null</query>
<query>select count() from numbers_mt(1e8) group by number format Null</query>
<drop_query>drop table t_str_key_{size}</drop_query>
</test>