в запросе и конфиге не установлено ограничений? Подскажите, плиз.
окно1: clickhouse-client --max_memory_usage_for_user=0 -q "create temporary table X Engine=Memory as select * from numbers(1000000000);" успех --------- окно2: for i in `seq 1 5000`; do echo -n " Result: "; clickhouse-client --max_memory_usage_for_user=100000 -q "select sleep(1)"; done окно1: clickhouse-client --max_memory_usage_for_user=0 -q "create temporary table X Engine=Memory as select * from numbers(1000000000);" Received exception from server (version 20.2.1): Code: 241. DB::Exception: Received from localhost:9000. DB::Exception: Memory limit (for user) exceeded: would use 4.00 MiB (attempt to allocate chunk of 4194976 bytes), maximum: 97.66 KiB.
Обсуждают сегодня