ClickHouse/tests/performance/final_big_column.xml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
994 B
XML
Raw Normal View History

<test>
<settings>
2024-06-20 16:37:05 +00:00
<!-- ingestion is quite time consuming in this test -->
<max_insert_threads>8</max_insert_threads>
<max_memory_usage>20G</max_memory_usage>
</settings>
<create_query>
CREATE TABLE optimized_select_final (d Date, key UInt64, value String)
ENGINE = ReplacingMergeTree()
PARTITION BY toYYYYMM(d) ORDER BY key
</create_query>
2024-06-20 16:37:05 +00:00
<fill_query>INSERT INTO optimized_select_final SELECT toDate('2000-01-01'), 2*number, randomPrintableASCII(1000) FROM numbers_mt(5000000)</fill_query>
<fill_query>INSERT INTO optimized_select_final SELECT toDate('2020-01-01'), 2*number+1, randomPrintableASCII(1000) FROM numbers_mt(5000000)</fill_query>
<query>SELECT * FROM optimized_select_final FINAL FORMAT Null SETTINGS max_threads = 8</query>
<query>SELECT * FROM optimized_select_final FINAL WHERE key % 10 = 0 FORMAT Null</query>
<drop_query>DROP TABLE IF EXISTS optimized_select_final</drop_query>
</test>