work_mem greater than 2GB issue - Mailing list pgsql-general

From wickro
Subject work_mem greater than 2GB issue
Date
Msg-id 66637189-1252-430f-901e-4f22c9137644@b1g2000vbc.googlegroups.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Philipp Marek
Date:
Subject: Re: Btree indizes, FILLFACTOR, vacuum_freeze_min_age and CLUSTER
Next
From: Emanuel Calvo Franco
Date:
Subject: Re: Good PG Books ?