X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F03BBD1D073 for ; Fri, 23 Apr 2004 16:27:28 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 49811-01 for ; Fri, 23 Apr 2004 16:27:27 -0300 (ADT) Received: from mail.astudios.com (unknown [66.49.77.3]) by svr1.postgresql.org (Postfix) with ESMTP id 2414ED1C9E8 for ; Fri, 23 Apr 2004 16:27:25 -0300 (ADT) thread-index: AcQpaXvsoqCzdrFlSuChyRKvDuPyjQ== Content-Class: urn:content-classes:message Received: from [10.4.2.155] ([66.194.26.150]) by mail.astudios.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 23 Apr 2004 15:30:49 -0400 Importance: normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.132 From: "Chris Hoover" To: "Ron St-Pierre" Subject: Re: Help with performance problems Date: Fri, 23 Apr 2004 15:27:24 -0400 User-Agent: KMail/1.6.1 Cc: References: <200404230931.17850.revoohc@sermonaudio.com> <200404231115.23198.josh@agliodbs.com> <40896713.2010703@syscor.com> In-Reply-To: <40896713.2010703@syscor.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-ID: <200404231527.24230.revoohc@sermonaudio.com> X-OriginalArrivalTime: 23 Apr 2004 19:30:49.0968 (UTC) FILETIME=[7BDE2F00:01C42969] X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/415 X-Sequence-Number: 6715 On Friday 23 April 2004 14:57, Ron St-Pierre wrote: Does this apply to 7.3.4 also? > Actually, since he's running 7.4, there's an even better way. Do a > "VACUUM VERBOSE" (full-database vacuum --- doesn't matter whether you > ANALYZE or not). At the end of the very voluminous output, you'll see > something like > > > INFO: free space map: 240 relations, 490 pages stored; 4080 total pages > needed DETAIL: Allocated FSM size: 1000 relations + 20000 pages =3D 178 = kB > shared memory. > > > Here, I would need max_fsm_relations =3D 240 and max_fsm_pages =3D 4080 = to > exactly cover the present freespace needs of my system. I concur with > the suggestion to bump that up a good deal, of course, but that gives > you a real number to start from. > > > The DETAIL part of the message shows my current settings (which are the > defaults) and what the FSM is costing me in shared memory space. > > Good luck > Ron > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 7: don't forget to increase your free space map settings