Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAJKG-00033d-Gn for pgsql-admin@arkaria.postgresql.org; Wed, 19 Jan 2022 22:21:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nAJKF-0006B0-9o for pgsql-admin@arkaria.postgresql.org; Wed, 19 Jan 2022 22:21:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAJKE-0006Ar-Vt for pgsql-admin@lists.postgresql.org; Wed, 19 Jan 2022 22:21:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAJKC-0005fr-VS for pgsql-admin@postgresql.org; Wed, 19 Jan 2022 22:21:06 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 20JML1aK770650; Wed, 19 Jan 2022 17:21:01 -0500 From: Tom Lane To: "David G. Johnston" cc: Wells Oliver , pgsql-admin Subject: Re: Setting effective_cache_size in integer form with the 8kb block units In-reply-to: References: Comments: In-reply-to "David G. Johnston" message dated "Wed, 19 Jan 2022 15:15:06 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <770648.1642630861.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 19 Jan 2022 17:21:01 -0500 Message-ID: <770649.1642630861@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > On Wed, Jan 19, 2022 at 2:57 PM Wells Oliver wr= ote: >> It does. In a cruel twist of fate, RDS parameter groups do not allow >> "48GB" and want integer values. > The system operates and calculates memory in binary per the referenced > documentation so 6,291,456 (I double-checked this). If you don't trust hand arithmetic, try regression=3D# set effective_cache_size to '48GB'; SET regression=3D# select setting from pg_settings where name =3D 'effective_c= ache_size'; setting = --------- 6291456 (1 row) regards, tom lane