Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gBxXk-0002TE-1P for pgsql-admin@arkaria.postgresql.org; Mon, 15 Oct 2018 07:44:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gBxXh-00039l-US for pgsql-admin@arkaria.postgresql.org; Mon, 15 Oct 2018 07:43:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gBxXh-00039e-Jg for pgsql-admin@lists.postgresql.org; Mon, 15 Oct 2018 07:43:57 +0000 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gBxXd-0000T6-56 for pgsql-admin@postgresql.org; Mon, 15 Oct 2018 07:43:56 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 4614540543; Mon, 15 Oct 2018 09:43:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id V9M9E4wGOczX; Mon, 15 Oct 2018 09:43:46 +0200 (CEST) Message-ID: <4647b0c67c2c5d4dc08032f1b11240665711af95.camel@cybertec.at> Subject: Re: How should the correct value of shmmax be calculated for DWH (OLAP) server From: Laurenz Albe To: "Shukla, Sumeet" , "pgsql-admin@postgresql.org" Date: Mon, 15 Oct 2018 09:43:45 +0200 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Shukla, Sumeet wrote: > Can someone please help me determine the appropriate value of kernel shmmax > parameter for PostgreSQL configured for Data Warehouse use? Simple. Set it to anything bigger than your "shared_buffers" setting. If PostgreSQL manages to start, your setting is big enough. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com