work_mem greater than 2GB issue

Поиск
Список
Период
Сортировка
От wickro
Тема work_mem greater than 2GB issue
Дата
Msg-id 66637189-1252-430f-901e-4f22c9137644@b1g2000vbc.googlegroups.com
обсуждение исходный текст
Ответы Re: work_mem greater than 2GB issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: work_mem greater than 2GB issue  (Gregory Stark <stark@enterprisedb.com>)
Re: work_mem greater than 2GB issue  (Henry <henry@zen.co.za>)
Список pgsql-general
Hi everyone,

I have a largish table (> 8GB). I'm doing a very simple single group
by on. I am the only user of this database. If I set work mem to
anything under 2GB (e.g. 1900MB) the postmaster process stops at that
value while it's peforming it's group by. There is only one hash
operation so that is what I would expect. But anything larger and it
eats up all memory until it can't get anymore (around 7.5GB on a 8GB
machine). Has anyone experienced anything of this sort before.

Cheers

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

Предыдущее
От: Philipp Marek
Дата:
Сообщение: Re: Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER
Следующее
От: Emanuel Calvo Franco
Дата:
Сообщение: Re: Good PG Books ?