Re: DBT-3 with SF=20 got failed - Mailing list pgsql-hackers

From Jan Wieck
Subject Re: DBT-3 with SF=20 got failed
Date
Msg-id 5579991A.4000905@wi3ck.info
Whole thread Raw
In response to Re: DBT-3 with SF=20 got failed  (Kouhei Kaigai <kaigai@ak.jp.nec.com>)
Responses Re: DBT-3 with SF=20 got failed  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Re: DBT-3 with SF=20 got failed  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-hackers
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.


Regards, Jan

-- 
Jan Wieck
Senior Software Engineer
http://slony.info



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: The purpose of the core team
Next
From: Robert Haas
Date:
Subject: Re: DBT-3 with SF=20 got failed