mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Merge pull request #60028 from Algunenano/cloud-test
Fix 02981_vertical_merges_memory_usage with SharedMergeTree
This commit is contained in:
commit
514d729a60
@ -1,4 +1,4 @@
|
||||
-- Tags: long
|
||||
-- Tags: long, no-random-merge-tree-settings
|
||||
|
||||
DROP TABLE IF EXISTS t_vertical_merge_memory;
|
||||
|
||||
@ -14,7 +14,9 @@ SETTINGS
|
||||
merge_max_block_size_bytes = '10M';
|
||||
|
||||
INSERT INTO t_vertical_merge_memory SELECT number, arrayMap(x -> repeat('a', 50), range(1000)) FROM numbers(3000);
|
||||
INSERT INTO t_vertical_merge_memory SELECT number, arrayMap(x -> repeat('a', 50), range(1000)) FROM numbers(3000);
|
||||
-- Why 3001? - Deduplication, which is off with normal MergeTree by default but on for ReplicatedMergeTree and SharedMergeTree.
|
||||
-- We automatically replace MergeTree with SharedMergeTree in ClickHouse Cloud.
|
||||
INSERT INTO t_vertical_merge_memory SELECT number, arrayMap(x -> repeat('a', 50), range(1000)) FROM numbers(3001);
|
||||
|
||||
OPTIMIZE TABLE t_vertical_merge_memory FINAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user