ClickHouse/tests/performance/merge_tree_many_partitions.xml

15 lines
557 B
XML
Raw Normal View History

<test>
2019-06-16 20:25:43 +00:00
<settings>
<max_partitions_per_insert_block>0</max_partitions_per_insert_block>
2022-03-03 15:17:14 +00:00
<max_insert_threads>1</max_insert_threads>
<max_memory_usage>20G</max_memory_usage>
2019-06-16 20:25:43 +00:00
</settings>
2022-03-03 15:17:14 +00:00
<create_query>CREATE TABLE bad_partitions (x UInt64) ENGINE = MergeTree PARTITION BY x ORDER BY x</create_query>
<fill_query>INSERT INTO bad_partitions SELECT * FROM numbers(10000)</fill_query>
2020-06-26 19:11:43 +00:00
<query short="1">SELECT count() FROM bad_partitions</query>
2019-06-16 20:25:43 +00:00
<drop_query>DROP TABLE IF EXISTS bad_partitions</drop_query>
</test>