Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xp3cj-00061l-5w for pgsql-performance@arkaria.postgresql.org; Thu, 13 Nov 2014 23:16:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xp3ci-0008At-LS for pgsql-performance@arkaria.postgresql.org; Thu, 13 Nov 2014 23:16:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xp3cg-00088d-Vx for pgsql-performance@postgresql.org; Thu, 13 Nov 2014 23:16:19 +0000 Received: from mail-ie0-f179.google.com ([209.85.223.179]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xp3cd-0003Sp-Oa for pgsql-performance@postgresql.org; Thu, 13 Nov 2014 23:16:17 +0000 Received: by mail-ie0-f179.google.com with SMTP id rl12so17030246iec.10 for ; Thu, 13 Nov 2014 15:16:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=QOjIh7l0UUTOoGtB/d68K3DBD10p1xeTgRJDDr/97r4=; b=XZS68rocDKaFNW17HRu/KGM4dnv9lst+CXqNheVbiFZ81u2IT30C4qNpqu3ncjC5YI RFh3OZNlGltmVDFwd+zUhqLdgvA5+BNRrrWQoZUtHXog45nkDeg6QJl0EJRnLlRKR+MK NMmpSE+DrChmLFN9z7Z2fM55JUJuCx4nTncjtaVntVOr/PLVt1+IxrpuSsaUWoosthoT N3uSm8gnMbc+sq8gS5OmI2Yt5FpDlr/mHIuep1IHW0ho8rsEtNzQkAgb2reQRITap9S2 E/S5JPvS23K1Sgs5za06F+l4KDYhkX8o5kIrFuKWekqxiaLleM9L7hutrDqpJ9bnGCZX VPwQ== X-Gm-Message-State: ALoCoQlkcIB7zviZfdlyi1IkvuvU78pb4qsObOrRjht6tyVc2Ujlv6XYhNroferz66jgd3Cz/Z3n X-Received: by 10.42.136.133 with SMTP id u5mr7819184ict.33.1415920573271; Thu, 13 Nov 2014 15:16:13 -0800 (PST) Received: from kevins-MacBook-Pro.local ([50.243.150.94]) by mx.google.com with ESMTPSA id au2sm468954igc.4.2014.11.13.15.16.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Nov 2014 15:16:12 -0800 (PST) Message-ID: <54653BBB.5060508@consistentstate.com> Date: Thu, 13 Nov 2014 16:16:11 -0700 From: CS DBA User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Increased shared_buffer setting = lower hit ratio ? References: <54653A1E.3050805@consistentstate.com> In-Reply-To: <54653A1E.3050805@consistentstate.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 This is on a CentOS 6.5 box running PostgreSQL 9.2 On 11/13/14 4:09 PM, CS DBA wrote: > All; > > We have a large db server with 128GB of ram running complex functions. > > with the server set to have the following we were seeing a somewhat > low hit ratio and lots of temp buffers > > shared_buffers = 18GB > work_mem = 75MB > effective_cache_size = 105GB > checkpoint_segments = 128 > > > when we increased the values to these not only did the hit ratio drop > but query times are now longer as well: > > > shared_buffers = 28GB > work_mem = 150MB > effective_cache_size = 105GB > checkpoint_segments = 256 > > This does not seem to make sense to me, anyone have any thoughts on > why more memory resources would cause worse performance? > > Thanks in advance > -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance