X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 99D883A46E0; Thu, 4 Nov 2004 00:21:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48190-04; Thu, 4 Nov 2004 00:20:55 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by svr1.postgresql.org (Postfix) with ESMTP id 246373A46D4; Thu, 4 Nov 2004 00:20:57 +0000 (GMT) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 07A8E12AE54; Wed, 3 Nov 2004 20:20:54 -0400 (AST) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 48512-01; Thu, 4 Nov 2004 00:20:44 +0000 (GMT) Received: from ganymede.hub.org (blk-222-46-91.eastlink.ca [24.222.46.91]) by hub.org (Postfix) with ESMTP id 0048112AE50; Wed, 3 Nov 2004 20:20:43 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id EAFC03DF41; Wed, 3 Nov 2004 20:20:47 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id DBE043DF3C; Wed, 3 Nov 2004 20:20:47 -0400 (AST) Date: Wed, 3 Nov 2004 20:20:47 -0400 (AST) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Justin Clift Cc: pgsql-www@postgresql.org Subject: Re: pg_autovacuum is nice ... but ... In-Reply-To: <41895BDA.1090903@postgresql.org> Message-ID: <20041103201625.S82047@ganymede.hub.org> References: <20041103155855.O82047@ganymede.hub.org> <41895BDA.1090903@postgresql.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/66 X-Sequence-Number: 5797 On Thu, 4 Nov 2004, Justin Clift wrote: > Marc G. Fournier wrote: > >> Do a vacuum full analyze on the two databases being called, and load time >> went from 2.4sec to .46sec: > > Hmmmm, is there any chance your Free Space Map settings aren't high enough? I posted once asking about that, but got no responses :) Here is a vacuum verbose on gborg's database: INFO: free space map: 1000 relations, 7454 pages stored; 23072 total pages needed DETAIL: Allocated FSM size: 1000 relations + 20000 pages = 178 kB shared memory. and this is portal: INFO: free space map: 1000 relations, 7425 pages stored; 23024 total pages needed DETAIL: Allocated FSM size: 1000 relations + 20000 pages = 178 kB shared memory. so, you tell me ... should I increase them? I haven't been able to find any docs that talk about this :( ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664