mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-09 17:14:47 +00:00
Fix some perf tests
This commit is contained in:
parent
321fa4a9e8
commit
6229ec530d
@ -32,7 +32,7 @@
|
||||
<create_query>CREATE TABLE IF NOT EXISTS table_{format} (x UInt64) ENGINE = File(`{format}`)</create_query>
|
||||
<create_query>CREATE TABLE IF NOT EXISTS table_{format_fast} (x UInt64) ENGINE = File(`{format}`)</create_query>
|
||||
|
||||
<query>INSERT INTO table_{format} SELECT number FROM numbers(10000000)</query>
|
||||
<query>INSERT INTO table_{format} SELECT number FROM numbers(10000000) SETTINGS engine_file_truncate_on_insert = 1</query>
|
||||
<query>INSERT INTO table_{format_fast} SELECT number FROM numbers(20000000)</query>
|
||||
|
||||
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
||||
|
@ -49,8 +49,8 @@
|
||||
<create_query>CREATE TABLE IF NOT EXISTS table_{format_slow} ENGINE = File({format_slow}, '/dev/null') AS test.hits</create_query>
|
||||
<create_query>CREATE TABLE IF NOT EXISTS table_{format_fast} ENGINE = File({format_fast}, '/dev/null') AS test.hits</create_query>
|
||||
|
||||
<query>INSERT INTO table_{format_slow} SELECT * FROM test.hits LIMIT 10000</query>
|
||||
<query>INSERT INTO table_{format_fast} SELECT * FROM test.hits LIMIT 100000</query>
|
||||
<query>INSERT INTO table_{format_slow} SELECT * FROM test.hits LIMIT 10000 SETTINGS engine_file_truncate_on_insert = 1</query>
|
||||
<query>INSERT INTO table_{format_fast} SELECT * FROM test.hits LIMIT 100000 SETTINGS engine_file_truncate_on_insert = 1</query>
|
||||
|
||||
<drop_query>DROP TABLE IF EXISTS table_{format_slow}</drop_query>
|
||||
<drop_query>DROP TABLE IF EXISTS table_{format_fast}</drop_query>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
<create_query>CREATE TABLE IF NOT EXISTS table_{format} ENGINE = File({format}, '/dev/null') AS SELECT SearchPhrase, ClientIP6, URL, Referer, URLDomain FROM test.hits limit 0</create_query>
|
||||
|
||||
<query>INSERT INTO table_{format} SELECT SearchPhrase, ClientIP6, URL, Referer, URLDomain FROM test.hits LIMIT 100000</query>
|
||||
<query>INSERT INTO table_{format} SELECT SearchPhrase, ClientIP6, URL, Referer, URLDomain FROM test.hits LIMIT 100000 SETTINGS engine_file_truncate_on_insert = 1</query>
|
||||
|
||||
<drop_query>DROP TABLE IF EXISTS table_{format}</drop_query>
|
||||
</test>
|
||||
|
Loading…
Reference in New Issue
Block a user