Re: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux? - Mailing list pgsql-performance

From Joshua D. Drake
Subject Re: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?
Date
Msg-id 557C6BA8.7030805@commandprompt.com
Whole thread Raw
In response to Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?  (Kaijiang Chen <chenkaijiang@gmail.com>)
Responses Re: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?
List pgsql-performance
On 06/13/2015 10:27 AM, Kaijiang Chen wrote:
> Hi, I am using postgresql 9.2.10 on centos 6.2, 64 bit version. The
> server has 512 GB mem.
>
> The jobs are mainly OLAP like. So I need larger work_mem and shared
> buffers. From the source code, there is a constant MaxAllocSize==1GB.
> So, I wonder whether work_mem and shared buffers can exceed 2GB in the
> 64 bit Linux server?

Shared Buffers is not limited.

Work_mem IIRC can go past 2GB but has never been proven to be effective
after that.

It does depend on the version you are running.

JD


>
> Thanks and regards,
> Kaijiang
>


--
Command Prompt, Inc. - http://www.commandprompt.com/  503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.


pgsql-performance by date:

Previous
From: Kaijiang Chen
Date:
Subject: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?
Next
From: Joe Conway
Date:
Subject: Re: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?