mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Added a performance test for insertion of bloom_filter.
This commit is contained in:
parent
7092520617
commit
d5d8b2cefa
14
dbms/tests/performance/bloom_filter.xml
Normal file
14
dbms/tests/performance/bloom_filter.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<test>
|
||||
<type>once</type>
|
||||
|
||||
<stop_conditions>
|
||||
<all_of>
|
||||
<total_time_ms>30000</total_time_ms>
|
||||
</all_of>
|
||||
</stop_conditions>
|
||||
|
||||
<create_query>DROP TABLE IF EXISTS test_bf</create_query>
|
||||
<create_query>CREATE TABLE test_bf (`id` int, `ary` Array(String), INDEX idx_ary ary TYPE bloom_filter(0.01) GRANULARITY 8192) ENGINE = MergeTree() ORDER BY id</create_query>
|
||||
<query>INSERT INTO test_bf SELECT number AS id, [CAST(id, 'String'), CAST(id + 1, 'String'), CAST(id + 2, 'String')] FROM system.numbers LIMIT 3000000</query>
|
||||
<drop_query>DROP TABLE IF EXISTS test_bf</drop_query>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user