Fix too long perf test

This commit is contained in:
Alexey Milovidov 2020-12-30 16:53:30 +03:00
parent e0202b3b81
commit efa494b5e4

View File

@ -3,15 +3,19 @@
<create_query>CREATE TABLE perf_lc_num( <create_query>CREATE TABLE perf_lc_num(
num UInt8, num UInt8,
arr Array(LowCardinality(Int64)) default [num] arr Array(LowCardinality(Int64)) default [num]
) ENGINE = MergeTree() ORDER BY tuple() ) ENGINE = StripeLog
</create_query> </create_query>
<fill_query> <fill_query>
INSERT INTO perf_lc_num (num) INSERT INTO perf_lc_num (num)
SELECT toUInt8(number) SELECT toUInt8(number)
FROM numbers(1500000000) FROM numbers(100000000)
</fill_query> </fill_query>
<settings>
<max_threads>1</max_threads>
</settings>
<query>SELECT count() FROM perf_lc_num WHERE num = 42</query> <query>SELECT count() FROM perf_lc_num WHERE num = 42</query>
<query>SELECT count() FROM perf_lc_num WHERE arr[1] = 42</query> <query>SELECT count() FROM perf_lc_num WHERE arr[1] = 42</query>
<query>SELECT count() FROM perf_lc_num WHERE has(arr, 42)</query> <query>SELECT count() FROM perf_lc_num WHERE has(arr, 42)</query>