ClickHouse/docs/en/sql-reference/statements/select
Azat Khuzhin bdb39a6fef Change logic of automatic ORDER/GROUP BY to be based on available memory
- remove max_bytes_ratio_before_external_{order,group_by}_for_server
- change the way max_bytes_ratio_before_external_{order,group_by} works

Note, that it is not enough to transform ratio to bytes in
executeQuery(), since in this case it will not work for merges and
internal queries, plus, you have to reset them for Distributed engine
and update it for Merge/View/...

This patch also introduce some helpers (see MemoryTrackerUtils) and
adjust Aggregator::Params constructor to accept Settings object instead
of tons of arguments.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-11-28 16:01:53 +01:00
..
all.md
array-join.md Adds arrayJoin exception. Prettifies file. Fixes spelling. 2024-01-10 20:43:19 -04:00
distinct.md [Docs] fix some typos and missing commas 2024-02-13 02:10:41 +01:00
except.md fix style 2024-11-14 23:14:41 +01:00
format.md
from.md Docs: Mention FROM-before-SELECT 2024-09-09 08:05:18 +00:00
group-by.md Automatic GROUP BY to disk (max_bytes_ratio_before_external_group_by) 2024-11-28 16:01:53 +01:00
having.md
index.md Change logic of automatic ORDER/GROUP BY to be based on available memory 2024-11-28 16:01:53 +01:00
intersect.md Fix typo in intersect.md 2024-11-25 12:40:34 +01:00
into-outfile.md Update into-outfile.md 2023-12-13 09:04:07 -04:00
join.md update doc 2024-08-07 15:15:32 +08:00
limit-by.md
limit.md Review changes and replace … with ... 2024-05-23 13:54:45 +02:00
offset.md
order-by.md update docs 2024-11-05 18:04:59 +00:00
prewhere.md
qualify.md Fixed code review issues 2024-04-22 14:37:04 +03:00
sample.md Fix broken links in docs 2024-06-12 14:09:37 +02:00
union.md Remove original article because it's redundant 2024-03-03 22:49:11 +08:00
where.md
with.md Recursive CTE documentation fix 2024-05-08 17:20:38 +03:00