Re: DBT-3 with SF=20 got failed

Поиск
Список
Период
Сортировка
От Kohei KaiGai
Тема Re: DBT-3 with SF=20 got failed
Дата
Msg-id CADyhKSU3Sh37Hh8dgqCuv6tU2J-A17trgOeRBbK6TyjpUB6CMA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DBT-3 with SF=20 got failed  (Jan Wieck <jan@wi3ck.info>)
Список pgsql-hackers
2015-06-11 23:20 GMT+09:00 Jan Wieck <jan@wi3ck.info>:
> On 06/11/2015 09:53 AM, Kouhei Kaigai wrote:
>>>
>>> curious: what was work_mem set to?
>>>
>> work_mem=48GB
>>
>> My machine mounts 256GB physical RAM.
>
>
> work_mem can be allocated several times per backend. Nodes like sort and
> hash_aggregate may each allocate that much. You should set work_mem to a
> fraction of physical-RAM / concurrent-connections depending on the
> complexity of your queries. 48GB does not sound reasonable.
>
Smaller number of max_connections and large work_mem configuration are
usual for typical OLAP workloads.

Even if configuration is not reasonable, it is not a right error message.
People cannot understand how to fix it.

psql:query21.sql:50: ERROR:  invalid memory alloc request size 1073741824



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: DBT-3 with SF=20 got failed
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Entities created in one query not available in another in extended protocol