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 1gC95G-0007A7-8n for pgsql-admin@arkaria.postgresql.org; Mon, 15 Oct 2018 20:03:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gC95E-0002kL-70 for pgsql-admin@arkaria.postgresql.org; Mon, 15 Oct 2018 20:03:20 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1gC95D-0002kE-VT for pgsql-admin@lists.postgresql.org; Mon, 15 Oct 2018 20:03:20 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gC95A-0002n6-Kb for pgsql-admin@postgresql.org; Mon, 15 Oct 2018 20:03:19 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 776A122565; Mon, 15 Oct 2018 20:03:14 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo02-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V5D3cV9pQ1AM; Mon, 15 Oct 2018 20:03:14 +0000 (UTC) Received: from [192.168.2.16] (unknown [8.39.228.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 099022250D; Mon, 15 Oct 2018 20:03:12 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: effective_cache_size cfg From: Scott Ribe In-Reply-To: <1539626643680.56712@nrc-cnrc.gc.ca> Date: Mon, 15 Oct 2018 14:03:11 -0600 Cc: "pgsql-admin@postgresql.org" Content-Transfer-Encoding: quoted-printable Message-Id: <8564EC49-A9D1-42BD-90E9-215467441DC8@elevated-dev.com> References: <1539626643680.56712@nrc-cnrc.gc.ca> To: "Ghiurea, Isabella" X-Mailer: Apple Mail (2.3445.100.39) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk >=20 > On Oct 15, 2018, at 12:04 PM, Ghiurea, Isabella = wrote: >=20 > I am running PGSQL 10.4 on Cent OS Pg instance has ' = effective_cache_size' parameter not enabled I would like to learn what = will the optimizer behavior be in this case ? > ( default is set to 4GB , I was thinking PG 's optimizer will try = to use all available OS RAM when trying to estimate a query, is this the = case) That's merely a hint to the optimizer as to how much file data is likely = to be cached by the OS--it doesn't directly affect any PG allocations, = rather it might influence PG's choice of steps to carry out a query, = which of course could indirectly change the RAM that PG would use. -- Scott Ribe scott_ribe@elevated-dev.com https://www.linkedin.com/in/scottribe/