mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Set index granularity settings for other two lightweight delete tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
7f1569dd6e
commit
8f06972dc5
@ -74,7 +74,7 @@ select table, partition, name, rows from system.parts where database = currentDa
|
||||
drop table t_light;
|
||||
|
||||
SELECT '-----Test lightweight delete in multi blocks-----';
|
||||
CREATE TABLE t_large(a UInt32, b int) ENGINE=MergeTree order BY a settings min_bytes_for_wide_part=0;
|
||||
CREATE TABLE t_large(a UInt32, b int) ENGINE=MergeTree order BY a settings min_bytes_for_wide_part=0, index_granularity=8192, index_granularity_bytes='10Mi';
|
||||
INSERT INTO t_large SELECT number + 1, number + 1 FROM numbers(100000);
|
||||
|
||||
DELETE FROM t_large WHERE a = 50000;
|
||||
|
@ -80,7 +80,7 @@ select table, partition, name, rows from system.parts where database = currentDa
|
||||
drop table t_light;
|
||||
|
||||
SELECT '-----Test lightweight delete in multi blocks-----';
|
||||
CREATE TABLE t_large(a UInt32, b int) ENGINE=MergeTree order BY a settings min_bytes_for_wide_part=0;
|
||||
CREATE TABLE t_large(a UInt32, b int) ENGINE=MergeTree order BY a settings min_bytes_for_wide_part=0, index_granularity=8192, index_granularity_bytes='10Mi';
|
||||
INSERT INTO t_large SELECT number + 1, number + 1 FROM numbers(100000);
|
||||
|
||||
DELETE FROM t_large WHERE a = 50000;
|
||||
|
Loading…
Reference in New Issue
Block a user