2022-06-28 23:16:30 +00:00
-- { echoOn }
2024-07-24 07:57:56 +00:00
explain pipeline select * from (select * from numbers(1e8) group by number) group by number settings max_rows_to_read = 0;
2022-07-13 10:36:04 +00:00
(Expression)
ExpressionTransform × 16
(Aggregating)
Resize 16 → 16
AggregatingTransform × 16
StrictResize 16 → 16
(Expression)
ExpressionTransform × 16
(Aggregating)
Resize 1 → 16
AggregatingTransform
(Expression)
ExpressionTransform
2023-12-01 18:59:25 +00:00
(ReadFromSystemNumbers)
NumbersRange 0 → 1
2024-07-24 07:57:56 +00:00
explain pipeline select * from (select * from numbers_mt(1e8) group by number) group by number settings max_rows_to_read = 0;
2022-06-28 23:16:30 +00:00
(Expression)
ExpressionTransform × 16
(Aggregating)
Resize 16 → 16
AggregatingTransform × 16
StrictResize 16 → 16
(Expression)
ExpressionTransform × 16
(Aggregating)
Resize 16 → 16
AggregatingTransform × 16
(Expression)
ExpressionTransform × 16
2023-12-01 18:59:25 +00:00
(ReadFromSystemNumbers)
NumbersRange × 16 0 → 1
2024-07-24 07:57:56 +00:00
explain pipeline select * from (select * from numbers_mt(1e8) group by number) order by number settings max_rows_to_read = 0;
2022-06-28 23:16:30 +00:00
(Expression)
ExpressionTransform
(Sorting)
MergingSortedTransform 16 → 1
MergeSortingTransform × 16
LimitsCheckingTransform × 16
PartialSortingTransform × 16
(Expression)
ExpressionTransform × 16
(Aggregating)
Resize 16 → 16
AggregatingTransform × 16
(Expression)
ExpressionTransform × 16
2023-12-01 18:59:25 +00:00
(ReadFromSystemNumbers)
NumbersRange × 16 0 → 1
2022-06-28 23:16:30 +00:00
explain pipeline select number from remote('127.0.0.{1,2,3}', system, numbers_mt) group by number settings distributed_aggregation_memory_efficient = 1;
(Expression)
ExpressionTransform × 16
(MergingAggregated)
Resize 1 → 16
SortingAggregatedTransform 16 → 1
MergingAggregatedBucketTransform × 16
Resize 1 → 16
GroupingAggregatedTransform 3 → 1
(Union)
(Aggregating)
Resize 16 → 1
AggregatingTransform × 16
(Expression)
ExpressionTransform × 16
2023-12-01 18:59:25 +00:00
(ReadFromSystemNumbers)
NumbersRange × 16 0 → 1
2022-06-28 23:16:30 +00:00
(ReadFromRemote)
explain pipeline select number from remote('127.0.0.{1,2,3}', system, numbers_mt) group by number settings distributed_aggregation_memory_efficient = 0;
(Expression)
ExpressionTransform × 16
(MergingAggregated)
Resize 1 → 16
MergingAggregatedTransform
Resize 18 → 1
(Union)
(Aggregating)
Resize 16 → 16
AggregatingTransform × 16
(Expression)
ExpressionTransform × 16
2023-12-01 18:59:25 +00:00
(ReadFromSystemNumbers)
NumbersRange × 16 0 → 1
2022-06-28 23:16:30 +00:00
(ReadFromRemote)
-- { echoOn }
explain pipeline SELECT k1, k3, sum(value) v FROM remote('127.0.0.{1,2}', currentDatabase(), proj_agg_02343) GROUP BY k1, k3 SETTINGS distributed_aggregation_memory_efficient = 0;
(Expression)
ExpressionTransform × 16
(MergingAggregated)
Resize 1 → 16
MergingAggregatedTransform
2023-02-20 17:55:10 +00:00
Resize 17 → 1
2022-06-28 23:16:30 +00:00
(Union)
2023-02-20 17:55:10 +00:00
(Aggregating)
Resize 1 → 16
AggregatingTransform
(Expression)
ExpressionTransform
(ReadFromMergeTree)
2023-08-29 13:38:51 +00:00
MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder) 0 → 1
2022-06-28 23:16:30 +00:00
(ReadFromRemote)
explain pipeline SELECT k1, k3, sum(value) v FROM remote('127.0.0.{1,2}', currentDatabase(), proj_agg_02343) GROUP BY k1, k3 SETTINGS distributed_aggregation_memory_efficient = 1;
(Expression)
ExpressionTransform × 16
(MergingAggregated)
Resize 1 → 16
SortingAggregatedTransform 16 → 1
MergingAggregatedBucketTransform × 16
Resize 1 → 16
GroupingAggregatedTransform 2 → 1
(Union)
2023-02-20 17:55:10 +00:00
(Aggregating)
2022-06-28 23:16:30 +00:00
AggregatingTransform
2023-02-20 17:55:10 +00:00
(Expression)
2022-06-28 23:16:30 +00:00
ExpressionTransform
2023-02-20 17:55:10 +00:00
(ReadFromMergeTree)
2023-08-29 13:38:51 +00:00
MergeTreeSelect(pool: ReadPoolInOrder, algorithm: InOrder) 0 → 1
2022-06-28 23:16:30 +00:00
(ReadFromRemote)
-- { echoOn }
explain pipeline select a from remote('127.0.0.{1,2}', currentDatabase(), dist_t) group by a settings max_threads = 2, distributed_aggregation_memory_efficient = 1;
(Expression)
ExpressionTransform × 2
(MergingAggregated)
Resize 1 → 2
SortingAggregatedTransform 2 → 1
MergingAggregatedBucketTransform × 2
Resize 1 → 2
GroupingAggregatedTransform 2 → 1
(Union)
(MergingAggregated)
SortingAggregatedTransform 2 → 1
MergingAggregatedBucketTransform × 2
Resize 1 → 2
GroupingAggregatedTransform 2 → 1
(Union)
(Aggregating)
Resize 2 → 1
AggregatingTransform × 2
StrictResize 2 → 2
(Expression)
ExpressionTransform × 2
(ReadFromMergeTree)
2023-08-29 13:38:51 +00:00
MergeTreeSelect(pool: ReadPool, algorithm: Thread) × 2 0 → 1
2022-06-28 23:16:30 +00:00
(ReadFromRemote)
(ReadFromRemote)