Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 48B519FB432 for ; Sat, 14 Apr 2007 13:37:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 93916-01-2 for ; Sat, 14 Apr 2007 13:37:55 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 853489FB62A for ; Sat, 14 Apr 2007 13:37:56 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l3EGbs5Q004919; Sat, 14 Apr 2007 12:37:54 -0400 (EDT) To: Ron cc: Steve , pgsql-performance@postgresql.org Subject: Re: Question about memory allocations In-reply-to: References: <233A9987-ABA5-4491-A304-FDA1F8FCD962@gmail.com> <14019.1176155022@sss.pgh.pa.us> <22512E5C-A60F-43E7-A370-257F7AF956FD@gmail.com> <16374.1176171185@sss.pgh.pa.us> <25200.1176213242@sss.pgh.pa.us> <26925.1176221294@sss.pgh.pa.us> <1176453355.609.4.camel@hippy.mcmillan.net.nz> Comments: In-reply-to Ron message dated "Fri, 13 Apr 2007 14:23:08 -0400" Date: Sat, 14 Apr 2007 12:37:54 -0400 Message-ID: <4918.1176568674@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/307 X-Sequence-Number: 24184 Ron writes: > One of the reasons for the wide variance in suggested values for pg > memory use is that pg 7.x and pg 8.x are =very= different beasts. > If you break the advice into pg 7.x and pg 8.x categories, you find > that there is far less variation in the suggestions. > Bottom line: pg 7.x could not take advantage of larger sums of memory > anywhere near as well as pg 8.x can. Actually I think it was 8.1 that really broke the barrier in terms of scalability of shared_buffers. Pre-8.1, the buffer manager just didn't scale well enough to make it useful to use more than a few hundred meg. (In fact, we never even bothered to fix the shared-memory-sizing calculations to be able to deal with >2GB shared memory until 8.1; if you try it in 8.0 it'll probably just crash.) regards, tom lane