Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gW0x3-0004Lr-Ip for pgsql-performance@arkaria.postgresql.org; Sun, 09 Dec 2018 15:25:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gW0x2-0005ee-58 for pgsql-performance@arkaria.postgresql.org; Sun, 09 Dec 2018 15:25:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gW0x1-0005Ys-RM for pgsql-performance@lists.postgresql.org; Sun, 09 Dec 2018 15:24:59 +0000 Received: from sonic314-46.consmr.mail.gq1.yahoo.com ([98.137.69.109]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gW0x0-0006El-3z for pgsql-performance@lists.postgresql.org; Sun, 09 Dec 2018 15:24:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1544369093; bh=auYibD3ebNNshSDzUqOYUNLT/P9jlBnwhuMTI7ebj6c=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=rAlXMVaCTEO87rXkDVTI9863bE5fTRK2bzQ2pYzM6ZluG4i66nFD7lbiqQNsNrj/2yg5ANWEmqOnybfwHu4D/YBQcqVOcHWV+aNWqzPEa1kx/OzvFm06BBm7pj+RWimC9OIOzgqwLhd+3HANZD1CJ4nnTpuCMyt7+HurZWbKEdOcCa/VuISuy0gdDIQtw3YpMgiyC/lt0d5vMxRqhUBKyyDTdEHLRPeiq5I0bx6/6NsYtpAv5rtE6uUHMLqj75erw6SOlT38d0yAv0gJ8TBXLp+SkJ75AYRAjAOsUDYkkwSdN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c6CHoeajvgfDRDS_rKCbP2EQhnECqgTm0 DEr_OTRLDtYADYL4AOKH7XERLWpHo8x.CgqcFEaqUiCD7j8h8dsTz4y1b9TGS_xqJ.ATKaZ7RZNb 5svfcqxGaqOuRHAcWgt_G3w-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sun, 9 Dec 2018 15:24:53 +0000 Received: from 50-243-150-81-static.hfc.comcastbusiness.net (EHLO [10.16.0.189]) ([50.243.150.81]) by smtp422.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID a5cddefe100e535c7ced5c322769dfda; Sun, 09 Dec 2018 15:20:52 +0000 (UTC) Subject: Re: amazon aroura config - seriously overcommited defaults? (May be Off Topic) To: pgsql-performance@lists.postgresql.org References: <51a1e143-a679-d525-90a1-3fa8abecaf00@amazon.com> <20181208231242.t66zpocct36m4o46@alap3.anarazel.de> <7AF20599-CCD4-43D9-962D-3EB7B3E25122@gmail.com> <20181208233818.qu5k5bb4mjklzcqw@alap3.anarazel.de> From: Square Bob Message-ID: <84bcf9cf-f6b6-41ab-3e67-cdd149dc7331@yahoo.com> Date: Sun, 9 Dec 2018 08:20:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/9/18 5:51 AM, Andrew Dunstan wrote: > > On 12/8/18 6:38 PM, Andres Freund wrote: >> On 2018-12-08 15:23:19 -0800, Rob Sargent wrote: >>> >>>> On Dec 8, 2018, at 3:12 PM, Andres Freund wrote: >>>> >>>> On 2018-12-08 12:06:23 -0800, Jeremy Schneider wrote: >>>>> On RDS PostgreSQL, the default is 25% of your server memory. This >>>>> seems >>>>> to be pretty widely accepted as a good starting point on PostgreSQL. >>>> FWIW, I think it's widely cited, but also bad advice.  25% for a OLTP >>>> workload on a 1TB machine with a database size above 25% is a terrible >>>> idea. >>>> >>> Sorry, could you please expand “database size above 25%”?  25% of what? >> Memory available to postgres (i.e. 100% of the server's memory on a >> server dedicated to postgres, less if it's shared duty). >> > > > I think the best advice these days is that you need to triangulate to > find the best setting for shared_buffers. It's very workload > dependent, and there isn't even a semi-reliable rule of thumb. Any advice, approaches to triangulating shared_buffers you can share would be most helpful > > > cheers > > > andrew > >