mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
better perf test
This commit is contained in:
parent
7a318d25ae
commit
f3f550e811
@ -22,9 +22,6 @@
|
|||||||
<value>Native</value>
|
<value>Native</value>
|
||||||
<value>Avro</value>
|
<value>Avro</value>
|
||||||
<value>MsgPack</value>
|
<value>MsgPack</value>
|
||||||
<value>Parquet</value>
|
|
||||||
<value>Arrow</value>
|
|
||||||
<value>ORC</value>
|
|
||||||
</values>
|
</values>
|
||||||
</substitution>
|
</substitution>
|
||||||
</substitutions>
|
</substitutions>
|
||||||
@ -35,8 +32,6 @@
|
|||||||
|
|
||||||
<query short="'{format}' == 'Native'">SELECT * FROM table_{format} FORMAT Null</query>
|
<query short="'{format}' == 'Native'">SELECT * FROM table_{format} FORMAT Null</query>
|
||||||
|
|
||||||
<query>SELECT ClientEventTime, MobilePhoneModel, ClientIP6 FROM table_{format} FORMAT Null</query>
|
|
||||||
|
|
||||||
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
||||||
|
|
||||||
</test>
|
</test>
|
||||||
|
28
tests/performance/parse_engine_file_column_oriented.xml
Normal file
28
tests/performance/parse_engine_file_column_oriented.xml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<test max_ignored_relative_change="0.2">
|
||||||
|
|
||||||
|
<preconditions>
|
||||||
|
<table_exists>test.hits</table_exists>
|
||||||
|
</preconditions>
|
||||||
|
|
||||||
|
<substitutions>
|
||||||
|
<substitution>
|
||||||
|
<name>format</name>
|
||||||
|
<values>
|
||||||
|
<value>Parquet</value>
|
||||||
|
<value>Arrow</value>
|
||||||
|
<value>ORC</value>
|
||||||
|
</values>
|
||||||
|
</substitution>
|
||||||
|
</substitutions>
|
||||||
|
|
||||||
|
<create_query>CREATE TABLE IF NOT EXISTS table_{format}(ClientEventTime DateTime, MobilePhoneModel String, ClientIP6 FixedString(16)) ENGINE=File({format})</create_query>
|
||||||
|
|
||||||
|
<fill_query>INSERT INTO table_{format} SELECT ClientEventTime, MobilePhoneModel, ClientIP6 FROM test.hits ORDER BY ClientEventTime, MobilePhoneModel, ClientIP6 LIMIT 100000</fill_query>
|
||||||
|
|
||||||
|
<query>SELECT ClientEventTime FROM table_{format} FORMAT Null</query>
|
||||||
|
<query>SELECT MobilePhoneModel FROM table_{format} FORMAT Null</query>
|
||||||
|
<query>SELECT ClientIP6 FROM table_{format} FORMAT Null</query>
|
||||||
|
|
||||||
|
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
||||||
|
|
||||||
|
</test>
|
Loading…
Reference in New Issue
Block a user