X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C96B09DC9AC for ; Tue, 17 Jan 2006 18:49:01 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 54981-03 for ; Tue, 17 Jan 2006 18:49:01 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id 6F2D59DC9B3 for ; Tue, 17 Jan 2006 18:48:57 -0400 (AST) Received: by noel.decibel.org (Postfix, from userid 1001) id B92A93982E; Tue, 17 Jan 2006 16:28:12 -0600 (CST) Date: Tue, 17 Jan 2006 16:28:12 -0600 From: "Jim C. Nasby" To: Michael Riess Cc: pgsql-performance@postgresql.org Subject: Re: Autovacuum / full vacuum Message-ID: <20060117222812.GG17896@pervasive.com> References: <43CCC711.504@familyhealth.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-RELEASE amd64 X-Distributed: Join the Effort! http://www.distributed.net User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.093 required=5 tests=[AWL=0.093] X-Spam-Score: 0.093 X-Spam-Level: X-Archive-Number: 200601/272 X-Sequence-Number: 16750 On Tue, Jan 17, 2006 at 03:50:38PM +0100, Michael Riess wrote: > Well, > > I think that the documentation is not exactly easy to understand. I > always wondered why there are no examples for common postgresql > configurations. All I know is that the default configuration seems to be > too low for production use. And while running postgres I get no hints as > to which setting needs to be increased to improve performance. I have no There's a number of sites that have lots of info on postgresql.conf tuning. Google for 'postgresql.conf tuning' or 'annotated postgresql.conf'. > chance to see if my FSM settings are too low other than to run vacuum > full verbose in psql, pipe the result to a text file and grep for some > words to get a somewhat comprehensive idea of how much unused space > there is in my system. > > Don't get me wrong - I really like PostgreSQL and it works well in my > application. But somehow I feel that it might run much better ... > > about the FSM: You say that increasing the FSM is fairly cheap - how > should I know that? decibel@phonebook.1[16:26]/opt/local/share/postgresql8:3%grep fsm \ postgresql.conf.sample #max_fsm_pages = 20000 # min max_fsm_relations*16, 6 bytes each #max_fsm_relations = 1000 # min 100, ~70 bytes each decibel@phonebook.1[16:26]/opt/local/share/postgresql8:4% -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461