mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-10 08:22:00 +00:00
21 lines
1.2 KiB
Plaintext
21 lines
1.2 KiB
Plaintext
-- { echo }
|
|
explain select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=0;
|
|
Expression (Projection)
|
|
Limit (preliminary LIMIT (without OFFSET))
|
|
Sorting (Merge sorted streams after aggregation stage for ORDER BY)
|
|
Union
|
|
Sorting (Sorting for ORDER BY)
|
|
Expression ((Before ORDER BY + (Convert VIEW subquery result to VIEW table structure + (Materialize constants after VIEW subquery + (Projection + Before ORDER BY)))))
|
|
ReadFromStorage (SystemNumbers)
|
|
ReadFromRemote (Read from remote replica)
|
|
explain select * from remote('127.{1,2}', view(select * from numbers(1e6))) order by number limit 10 settings distributed_push_down_limit=1;
|
|
Expression (Projection)
|
|
Limit (preliminary LIMIT (without OFFSET))
|
|
Sorting (Merge sorted streams after aggregation stage for ORDER BY)
|
|
Union
|
|
Limit (preliminary LIMIT (with OFFSET))
|
|
Sorting (Sorting for ORDER BY)
|
|
Expression ((Before ORDER BY + (Convert VIEW subquery result to VIEW table structure + (Materialize constants after VIEW subquery + (Projection + Before ORDER BY)))))
|
|
ReadFromStorage (SystemNumbers)
|
|
ReadFromRemote (Read from remote replica)
|