mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Add perf test
This commit is contained in:
parent
10fb8624db
commit
0274c9e9eb
20
tests/performance/optimized_select_final.xml
Normal file
20
tests/performance/optimized_select_final.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<test>
|
||||
<settings>
|
||||
<do_not_merge_across_partitions_select_final>1</do_not_merge_across_partitions_select_final>
|
||||
</settings>
|
||||
|
||||
<create_query>
|
||||
CREATE TABLE optimized_select_final (t DateTime, x Int32)
|
||||
ENGINE = ReplacingMergeTree()
|
||||
PARTITION BY toYYYYMM(t) ORDER BY x
|
||||
</create_query>
|
||||
|
||||
<fill_query>INSERT INTO optimized_select_final SELECT toDate('2000-01-01'), number FROM numbers(1000000)</fill_query>
|
||||
|
||||
<fill_query>INSERT INTO optimized_select_final SELECT toDate('2020-01-01'), number FROM numbers(1000000)</fill_query>
|
||||
|
||||
<query>SELECT * FROM optimized_select_final final</query>
|
||||
|
||||
<drop_query>DROP TABLE IF EXISTS optimized_select_final</drop_query>
|
||||
|
||||
</test>
|
Loading…
Reference in New Issue
Block a user