Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3pSY-0001lF-Hr for pgsql-performance@arkaria.postgresql.org; Sat, 13 Jun 2015 17:43:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z3pSX-0003ah-Qv for pgsql-performance@arkaria.postgresql.org; Sat, 13 Jun 2015 17:43:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z3pSW-0003aa-Oo for pgsql-performance@postgresql.org; Sat, 13 Jun 2015 17:43:08 +0000 Received: from lists.commandprompt.com ([69.168.55.30]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z3pSR-0005rL-8l for pgsql-performance@postgresql.org; Sat, 13 Jun 2015 17:43:07 +0000 Received: from [192.168.1.3] (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 4E92F39F; Sat, 13 Jun 2015 10:43:00 -0700 (PDT) Received: from [192.168.1.3] ([67.168.169.165] helo=[192.168.1.3]) by assp.commandprompt.com with ESMTPS(AES128-SHA) (2.1.1); 13 Jun 2015 10:42:59 -0700 Message-ID: <557C6BA8.7030805@commandprompt.com> Date: Sat, 13 Jun 2015 10:43:04 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Kaijiang Chen , "pgsql-performance@postgresql.org" Subject: Re: Do work_mem and shared buffers have 1g or 2g limit on 64 bit linux? References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-SSL: yes X-Assp-ID: assp.commandprompt.com m1-17380-09067 X-Assp-Envelope-From: jd@commandprompt.com X-Assp-Intended-For: pgsql-performance@postgresql.org X-Assp-Original-Subject: Re: [PERFORM] Do work_mem and shared buffers have 1g or 2g limiton 64 bit linux? X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org 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. -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance