mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fixups
This commit is contained in:
parent
cff67cc0ee
commit
67f5ffc592
@ -10,8 +10,8 @@
|
|||||||
PARTITION BY toYYYYMM(d) ORDER BY key
|
PARTITION BY toYYYYMM(d) ORDER BY key
|
||||||
</create_query>
|
</create_query>
|
||||||
|
|
||||||
<fill_query>INSERT INTO optimized_select_final SELECT toDate('2000-01-01'), 2*number, randomPrintableASCII(1000) FROM numbers(5000000)</fill_query>
|
<fill_query>INSERT INTO optimized_select_final SELECT toDate('2000-01-01'), 2*number, randomPrintableASCII(1000) FROM numbers(2500000)</fill_query>
|
||||||
<fill_query>INSERT INTO optimized_select_final SELECT toDate('2020-01-01'), 2*number+1, randomPrintableASCII(1000) FROM numbers(5000000)</fill_query>
|
<fill_query>INSERT INTO optimized_select_final SELECT toDate('2020-01-01'), 2*number+1, randomPrintableASCII(1000) FROM numbers(2500000)</fill_query>
|
||||||
|
|
||||||
<query>SELECT * FROM optimized_select_final FINAL FORMAT Null SETTINGS max_threads = 8</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>
|
<query>SELECT * FROM optimized_select_final FINAL WHERE key % 10 = 0 FORMAT Null</query>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<test>
|
<test>
|
||||||
<query>with 'Many years later as he faced the firing squad, Colonel Aureliano Buendia was to remember that distant afternoon when his father took him to discover ice.' as s select splitByChar(' ', materialize(s)) as w from numbers(1000000)</query>
|
<query>with 'Many years later as he faced the firing squad, Colonel Aureliano Buendia was to remember that distant afternoon when his father took him to discover ice.' as s select splitByChar(' ', materialize(s)) as w from numbers(1000000)</query>
|
||||||
<query>with 'Many years later as he faced the firing squad, Colonel Aureliano Buendia was to remember that distant afternoon when his father took him to discover ice.' as s select splitByRegexp(' ', materialize(s)) as w from numbers(1000000)</query>
|
<query>with 'Many years later as he faced the firing squad, Colonel Aureliano Buendia was to remember that distant afternoon when his father took him to discover ice.' as s select splitByRegexp(' ', materialize(s)) as w from numbers(200000)</query>
|
||||||
<query>with 'Many years later as he faced the firing squad, Colonel Aureliano Buendia was to remember that distant afternoon when his father took him to discover ice.' as s select splitByRegexp('\s+', materialize(s)) as w from numbers(100000)</query>
|
<query>with 'Many years later as he faced the firing squad, Colonel Aureliano Buendia was to remember that distant afternoon when his father took him to discover ice.' as s select splitByRegexp('\s+', materialize(s)) as w from numbers(20000)</query>
|
||||||
</test>
|
</test>
|
||||||
|
@ -24,10 +24,10 @@
|
|||||||
<min_insert_block_size_rows>1</min_insert_block_size_rows>
|
<min_insert_block_size_rows>1</min_insert_block_size_rows>
|
||||||
</settings>
|
</settings>
|
||||||
|
|
||||||
<!-- 100 parts -->
|
<!-- 50 parts -->
|
||||||
<query>INSERT INTO hits_wide(UserID) SELECT rand() FROM numbers(100)</query>
|
<query>INSERT INTO hits_wide(UserID) SELECT rand() FROM numbers(50)</query>
|
||||||
<query>INSERT INTO hits_compact(UserID) SELECT rand() FROM numbers(1000)</query>
|
<query>INSERT INTO hits_compact(UserID) SELECT rand() FROM numbers(500)</query>
|
||||||
<query>INSERT INTO hits_buffer(UserID) SELECT rand() FROM numbers(100)</query>
|
<query>INSERT INTO hits_buffer(UserID) SELECT rand() FROM numbers(50)</query>
|
||||||
|
|
||||||
<drop_query>DROP TABLE IF EXISTS hits_wide</drop_query>
|
<drop_query>DROP TABLE IF EXISTS hits_wide</drop_query>
|
||||||
<drop_query>DROP TABLE IF EXISTS hits_compact</drop_query>
|
<drop_query>DROP TABLE IF EXISTS hits_compact</drop_query>
|
||||||
|
@ -555,7 +555,7 @@ if args.report == "main":
|
|||||||
"Total client time for measured query runs, s", # 2
|
"Total client time for measured query runs, s", # 2
|
||||||
"Queries", # 3
|
"Queries", # 3
|
||||||
"Longest query, total for measured runs, s", # 4
|
"Longest query, total for measured runs, s", # 4
|
||||||
"Wall clock time per query, s", # 5
|
"Average query wall clock time, s", # 5
|
||||||
"Shortest query, total for measured runs, s", # 6
|
"Shortest query, total for measured runs, s", # 6
|
||||||
"", # Runs #7
|
"", # Runs #7
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user