mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
add 'stop merges' to test
This commit is contained in:
parent
5b5030a888
commit
3016bda264
@ -10,11 +10,15 @@ SETTINGS vertical_merge_algorithm_min_rows_to_activate = 1,
|
||||
min_bytes_for_wide_part = 0,
|
||||
merge_max_block_size = 16;
|
||||
|
||||
SYSTEM STOP MERGES replacing_table;
|
||||
|
||||
INSERT INTO replacing_table SELECT number, number, number from numbers(16);
|
||||
INSERT INTO replacing_table SELECT 100, number, number from numbers(16);
|
||||
|
||||
SELECT sum(a), count() FROM replacing_table;
|
||||
|
||||
SYSTEM START MERGES replacing_table;
|
||||
|
||||
OPTIMIZE TABLE replacing_table FINAL;
|
||||
|
||||
SELECT sum(a), count() FROM replacing_table;
|
||||
|
Loading…
Reference in New Issue
Block a user