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 2E2903A4794; Thu, 4 Nov 2004 02:33:45 +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 00387-05; Thu, 4 Nov 2004 02:33:40 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by svr1.postgresql.org (Postfix) with ESMTP id D0D523A4791; Thu, 4 Nov 2004 02:33:43 +0000 (GMT) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 7695412A73B; Wed, 3 Nov 2004 22:33:39 -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 17959-04; Thu, 4 Nov 2004 02:33:30 +0000 (GMT) Received: from ganymede.hub.org (blk-222-46-91.eastlink.ca [24.222.46.91]) by hub.org (Postfix) with ESMTP id 646AA12A73D; Wed, 3 Nov 2004 22:33:30 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id BE68B3E2C2; Wed, 3 Nov 2004 22:33:35 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id AA4AA3E2C1; Wed, 3 Nov 2004 22:33:35 -0400 (AST) Date: Wed, 3 Nov 2004 22:33:35 -0400 (AST) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Tom Lane Cc: "Marc G. Fournier" , Justin Clift , pgsql-www@postgresql.org Subject: Re: pg_autovacuum is nice ... but ... In-Reply-To: <19430.1099533223@sss.pgh.pa.us> Message-ID: <20041103223218.X82047@ganymede.hub.org> References: <20041103155855.O82047@ganymede.hub.org> <41895BDA.1090903@postgresql.org> <20041103201625.S82047@ganymede.hub.org> <19430.1099533223@sss.pgh.pa.us> 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/81 X-Sequence-Number: 5812 On Wed, 3 Nov 2004, Tom Lane wrote: > "Marc G. Fournier" writes: >> 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? > > Yup. 20000 < 23072, so you're losing some proportion of FSM entries. > What's worse, the FSM relation table is maxed out (1000 = 1000) which > suggests that there are relations not being tracked at all; you have > no idea how much space is getting leaked in those. 'k, increased to 25000/1500, and am runninga vacuum on all databases now ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664