mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Fix too long perf test
This commit is contained in:
parent
e0202b3b81
commit
efa494b5e4
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user