mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Faster performance tests (2)
This commit is contained in:
parent
5bc45f96b5
commit
d3aa03e6d4
@ -12,7 +12,7 @@
|
||||
-->
|
||||
|
||||
<create_query>CREATE TABLE empty_strings (s String) ENGINE = Log;</create_query>
|
||||
<fill_query>INSERT INTO empty_strings SELECT '' FROM numbers(1000000000);</fill_query>
|
||||
<fill_query>INSERT INTO empty_strings SELECT '' FROM numbers_mt(100000000);</fill_query>
|
||||
|
||||
<query>SELECT count() FROM empty_strings</query>
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<type>loop</type>
|
||||
|
||||
<create_query>CREATE TABLE bad_partitions (a UInt64, b UInt64, c UInt64, d UInt64, e UInt64, f UInt64, g UInt64, h UInt64, i UInt64, j UInt64, k UInt64, l UInt64, m UInt64, n UInt64, o UInt64, p UInt64, q UInt64, r UInt64, s UInt64, t UInt64, u UInt64, v UInt64, w UInt64, x UInt64, y UInt64, z UInt64) ENGINE = MergeTree PARTITION BY x ORDER BY x</create_query>
|
||||
<fill_query>INSERT INTO bad_partitions (x) SELECT * FROM numbers(5000)</fill_query>
|
||||
<fill_query>INSERT INTO bad_partitions (x) SELECT * FROM numbers_mt(5000)</fill_query>
|
||||
|
||||
<stop_conditions>
|
||||
<all_of>
|
||||
|
@ -9,7 +9,7 @@
|
||||
</stop_conditions>
|
||||
|
||||
<create_query>CREATE TABLE simple_mergetree (EventDate Date, x UInt64) ENGINE = MergeTree ORDER BY x</create_query>
|
||||
<fill_query>INSERT INTO simple_mergetree SELECT number, today() + intDiv(number, 10000000) FROM numbers(1000000000)</fill_query>
|
||||
<fill_query>INSERT INTO simple_mergetree SELECT number, today() + intDiv(number, 10000000) FROM numbers_mt(100000000)</fill_query>
|
||||
<fill_query>OPTIMIZE TABLE simple_mergetree FINAL</fill_query>
|
||||
|
||||
<query>SELECT count() FROM simple_mergetree</query>
|
||||
|
Loading…
Reference in New Issue
Block a user