ClickHouse/tests/queries/1_stateful/00084_external_aggregation.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
437 B
MySQL
Raw Normal View History

2022-03-01 11:35:17 +00:00
-- Tags: no-random-settings
SET max_bytes_before_external_group_by = 200000000;
SET max_memory_usage = 1500000000;
SET max_threads = 12;
SELECT URL, uniq(SearchPhrase) AS u FROM test.hits GROUP BY URL ORDER BY u DESC, URL LIMIT 10;
SET max_memory_usage = 300000000;
SET max_threads = 2;
SET aggregation_memory_efficient_merge_threads = 1;
SELECT URL, uniq(SearchPhrase) AS u FROM test.hits GROUP BY URL ORDER BY u DESC, URL LIMIT 10;