mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
18 lines
800 B
XML
18 lines
800 B
XML
<test max_ignored_relative_change="0.2">
|
|
<create_query>DROP TABLE IF EXISTS perf_lc_fixed_str_groupby</create_query>
|
|
<create_query>CREATE TABLE perf_lc_fixed_str_groupby(
|
|
a LowCardinality(FixedString(14)),
|
|
b LowCardinality(FixedString(14))
|
|
) ENGINE MergeTree ORDER BY tuple()
|
|
</create_query>
|
|
|
|
<fill_query>
|
|
INSERT INTO perf_lc_fixed_str_groupby SELECT ('number key ' || toString(number % 400)) AS a, ('number key ' || toString(number % 20)) AS b FROM numbers(30000000)
|
|
</fill_query>
|
|
|
|
<query short="1">SELECT count() FROM perf_lc_fixed_str_groupby GROUP BY a</query>
|
|
<query short="1">SELECT count() FROM perf_lc_fixed_str_groupby GROUP BY b</query>
|
|
|
|
<drop_query>DROP TABLE IF EXISTS perf_lc_fixed_str_groupby</drop_query>
|
|
</test>
|