mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
add perf test
This commit is contained in:
parent
207a4c6166
commit
10d2b1330b
17
tests/performance/set_disable_skip_index.xml
Normal file
17
tests/performance/set_disable_skip_index.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<test>
|
||||
<create_query>
|
||||
CREATE TABLE test_in_skip_idx
|
||||
(
|
||||
a UInt64,
|
||||
s String,
|
||||
INDEX idx s TYPE bloom_filter GRANULARITY 1
|
||||
)
|
||||
ENGINE = MergeTree() ORDER BY a
|
||||
</create_query>
|
||||
|
||||
<fill_query>INSERT INTO test_in_skip_idx SELECT number, number FROM numbers(10000000)</fill_query>
|
||||
<fill_query>OPTIMIZE TABLE test_in_skip_idx FINAL</fill_query>
|
||||
|
||||
<query>SELECT count() FROM test_in_skip_idx WHERE s IN (SELECT toString(number + 10000000) FROM numbers(100000)) SETTINGS use_skip_indexes = 0</query>
|
||||
<drop_query>DROP TABLE IF EXISTS test_in_skip_idx</drop_query>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user