Re: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Kaijiang Chen <chenkaijiang(at)gmail(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?
Date: 2015-06-13 17:43:04
Message-ID: 557C6BA8.7030805@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joe Conway 2015-06-13 18:10:27 Re: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?
Previous Message Kaijiang Chen 2015-06-13 17:27:53 Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux?