Re: DBT-3 with SF=20 got failed

From: Jan Wieck <jan(at)wi3ck(dot)info>
To: Kouhei Kaigai <kaigai(at)ak(dot)jp(dot)nec(dot)com>, Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DBT-3 with SF=20 got failed
Date: 2015-06-11 14:20:10
Message-ID: 5579991A.4000905@wi3ck.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-06-11 14:28:48 Re: DBT-3 with SF=20 got failed
Previous Message Robert Haas 2015-06-11 14:12:11 Re: The purpose of the core team