2021-03-28 01:29:55 +00:00
|
|
|
<test>
|
|
|
|
<settings>
|
2021-08-27 23:12:05 +00:00
|
|
|
<local_filesystem_read_method>mmap</local_filesystem_read_method>
|
2021-03-28 01:29:55 +00:00
|
|
|
<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>
|
|
|
|
|
2021-03-30 12:24:22 +00:00
|
|
|
<query short="1"><![CDATA[SELECT sum(WatchID) FROM hits_none]]></query>
|
2021-03-28 01:29:55 +00:00
|
|
|
|
|
|
|
<drop_query>DROP TABLE hits_none</drop_query>
|
|
|
|
</test>
|