ClickHouse/dbms/tests/performance/parallel_insert.xml

25 lines
707 B
XML
Raw Normal View History

2019-12-13 10:50:14 +00:00
<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_10m_single</create_query>
2019-12-19 19:31:06 +00:00
<fill_query>set max_insert_threads=8</fill_query>
2019-12-13 10:50:14 +00:00
2020-03-12 09:37:57 +00:00
<!--
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>
2019-12-13 10:50:14 +00:00
<drop_query>DROP TABLE IF EXISTS hits2</drop_query>
</test>