mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
8 lines
294 B
SQL
8 lines
294 B
SQL
SET max_memory_usage = 16000000;
|
|
|
|
SET max_joined_block_size_rows = 10000000;
|
|
SELECT count(*) FROM numbers(10000) n1 CROSS JOIN numbers(1000) n2; -- { serverError MEMORY_LIMIT_EXCEEDED }
|
|
|
|
SET max_joined_block_size_rows = 1000;
|
|
SELECT count(*) FROM numbers(10000) n1 CROSS JOIN numbers(1000) n2;
|