mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Add perf test
This commit is contained in:
parent
6f9f7d118d
commit
699af9d034
17
tests/performance/mmap_io.xml
Normal file
17
tests/performance/mmap_io.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<test>
|
||||
<preconditions>
|
||||
<table_exists>hits_10m_single</table_exists>
|
||||
</preconditions>
|
||||
|
||||
<settings>
|
||||
<min_bytes_to_use_mmap_io>1</min_bytes_to_use_mmap_io>
|
||||
</settings>
|
||||
|
||||
<create_query>CREATE TABLE hits_none (WatchID UInt64 CODEC(NONE)) ENGINE = MergeTree ORDER BY tuple()</create_query>
|
||||
<fill_query>INSERT INTO hits_none SELECT WatchID FROM test.hits</fill_query>
|
||||
<fill_query>OPTIMIZE TABLE hits_none FINAL</fill_query>
|
||||
|
||||
<query><![CDATA[SELECT sum(WatchID) FROM hits_none]]></query>
|
||||
|
||||
<drop_query>DROP TABLE hits_none</drop_query>
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user