ClickHouse/dbms/tests/performance/parallel_insert.xml
2019-12-19 22:31:06 +03:00

25 lines
577 B
XML

<test>
<type>loop</type>
<stop_conditions>
<any_of>
<iterations>2</iterations>
</any_of>
</stop_conditions>
<main_metric>
<rows_per_second />
</main_metric>
<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>
<query>INSERT INTO hits2 SELECT * FROM hits_10m_single</query>
<drop_query>DROP TABLE IF EXISTS hits2</drop_query>
</test>