ClickHouse/dbms/tests/performance/parallel_insert.xml
Alexander Kuzmenkov 5e26c33d58 fixup
2020-03-12 16:06:29 +03:00

25 lines
707 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_10m_single</create_query>
<fill_query>set max_insert_threads=8</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 1 * 1000 * 1000</query>
<drop_query>DROP TABLE IF EXISTS hits2</drop_query>
</test>