mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
add performance test
This commit is contained in:
parent
ec784150b3
commit
f31d61e450
23
dbms/tests/performance/parallel_insert.xml
Normal file
23
dbms/tests/performance/parallel_insert.xml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<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>
|
||||||
|
|
||||||
|
<query>INSERT INTO hits2 SELECT * FROM hits_10m_single</query>
|
||||||
|
|
||||||
|
<drop_query>DROP TABLE IF EXISTS hits2</drop_query>
|
||||||
|
</test>
|
Loading…
Reference in New Issue
Block a user