mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-09 18:10:48 +00:00
29 lines
983 B
XML
29 lines
983 B
XML
<test>
|
|
|
|
<stop_conditions>
|
|
<any_of>
|
|
<iterations>2</iterations>
|
|
</any_of>
|
|
</stop_conditions>
|
|
|
|
<preconditions>
|
|
<table_exists>default.hits_10m_single</table_exists>
|
|
</preconditions>
|
|
|
|
<create_query>CREATE TABLE hits2 AS hits</create_query>
|
|
<create_query>ALTER TABLE hits2 MODIFY SETTING parts_to_delay_insert = 5000</create_query>
|
|
<create_query>ALTER TABLE hits2 MODIFY SETTING parts_to_throw_insert = 5000</create_query>
|
|
<fill_query>set max_insert_threads=8</fill_query>
|
|
<fill_query>system stop merges</fill_query>
|
|
|
|
<!--
|
|
The inserted data is not deterministic because of multi-threaded limit
|
|
without order by, but we assume it is uniform enough for the purpose of
|
|
this test.
|
|
-->
|
|
<query>INSERT INTO hits2 SELECT * FROM hits_10m_single LIMIT 2 * 1000 * 1000</query>
|
|
|
|
<drop_query>system start merges</drop_query>
|
|
<drop_query>DROP TABLE IF EXISTS hits2</drop_query>
|
|
</test>
|