ClickHouse/dbms/tests/performance/select_format.xml

61 lines
1.8 KiB
XML
Raw Normal View History

<test>
2019-05-23 16:06:21 +00:00
<type>loop</type>
2019-05-23 15:31:23 +00:00
<create_query>CREATE TABLE IF NOT EXISTS table_{format} ENGINE = File({format}) AS test.hits</create_query>
<stop_conditions>
2019-05-23 16:06:21 +00:00
<all_of>
<iterations>5</iterations>
<min_time_not_changing_for_ms>10000</min_time_not_changing_for_ms>
</all_of>
<any_of>
2019-05-23 16:06:21 +00:00
<iterations>100</iterations>
<total_time_ms>60000</total_time_ms>
</any_of>
</stop_conditions>
2019-05-23 16:06:21 +00:00
<main_metric>
<min_time/>
</main_metric>
<settings>
<output_format_pretty_max_rows>1000000</output_format_pretty_max_rows>
</settings>
<substitutions>
<substitution>
<name>format</name>
<values>
<value>TabSeparated</value>
<value>TabSeparatedRaw</value>
<value>CSV</value>
<value>Values</value>
<value>Vertical</value>
<value>JSON</value>
<value>JSONCompact</value>
<value>JSONEachRow</value>
<value>TSKV</value>
<value>Pretty</value>
<value>PrettyCompact</value>
<value>PrettyCompactMonoBlock</value>
<value>PrettyNoEscapes</value>
2019-06-07 21:54:16 +00:00
<value>PrettySpace</value>
<value>RowBinary</value>
<value>Native</value>
<value>XML</value>
<value>ODBCDriver2</value>
<value>MySQLWire</value>
</values>
</substitution>
</substitutions>
<preconditions>
<table_exists>test.hits</table_exists>
</preconditions>
<query>INSERT INTO table_{format} SELECT * FROM test.hits LIMIT 100000</query>
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
</test>