2020-03-11 10:09:16 +00:00
|
|
|
select zero from system.zeros limit 10 settings max_block_size = 3;
|
|
|
|
select '-';
|
|
|
|
select zero from system.zeros_mt limit 10 settings max_block_size = 3, max_threads = 2;
|
|
|
|
select '-';
|
|
|
|
select zero from zeros(10) settings max_block_size = 3;
|
|
|
|
select '-';
|
|
|
|
select zero from zeros_mt(10) settings max_block_size = 3, max_threads=3;
|
|
|
|
select '-';
|
2020-03-13 20:06:55 +00:00
|
|
|
select sum(zero), count() from (select * from system.zeros limit 10000000);
|
|
|
|
select sum(zero), count() from (select * from system.zeros_mt limit 10000000);
|
|
|
|
select sum(zero), count() from zeros(10000000);
|
|
|
|
select sum(zero), count() from zeros_mt(10000000);
|