mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
b42c5efc73
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
11 lines
518 B
SQL
11 lines
518 B
SQL
DROP TABLE IF EXISTS test;
|
|
CREATE TABLE test(a Int, b Int) Engine=ReplacingMergeTree order by a SETTINGS index_granularity = 8192, index_granularity_bytes = '10Mi';
|
|
INSERT INTO test select number, number from numbers(5);
|
|
INSERT INTO test select number, number from numbers(5,2);
|
|
set max_threads =1;
|
|
explain pipeline select * from test final SETTINGS enable_vertical_final = 0;
|
|
select * from test final;
|
|
set max_threads =2;
|
|
explain pipeline select * from test final SETTINGS enable_vertical_final = 0;
|
|
DROP TABLE test;
|