X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A11AF3A2B0D; Fri, 5 Nov 2004 02:19:22 +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 08780-10; Fri, 5 Nov 2004 02:19:18 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by svr1.postgresql.org (Postfix) with ESMTP id 6B0AE3A2B0C; Fri, 5 Nov 2004 02:19:20 +0000 (GMT) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id BA8D612AE55; Thu, 4 Nov 2004 22:19:16 -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 09320-08; Fri, 5 Nov 2004 02:19:08 +0000 (GMT) Received: from ganymede.hub.org (blk-222-46-91.eastlink.ca [24.222.46.91]) by hub.org (Postfix) with ESMTP id 912B812AE50; Thu, 4 Nov 2004 22:19:07 -0400 (AST) Received: by ganymede.hub.org (Postfix, from userid 1000) id C49AB341CE; Thu, 4 Nov 2004 22:19:12 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id C09D43416B; Thu, 4 Nov 2004 22:19:12 -0400 (AST) Date: Thu, 4 Nov 2004 22:19:12 -0400 (AST) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Tom Lane Cc: "Marc G. Fournier" , Justin Clift , pgsql-hackers@postgresql.org Subject: Re: [pgsql-www] pg_autovacuum is nice ... but ... In-Reply-To: <6789.1099608272@sss.pgh.pa.us> Message-ID: <20041104221815.I21566@ganymede.hub.org> References: <20041103155855.O82047@ganymede.hub.org> <41895BDA.1090903@postgresql.org> <20041103201625.S82047@ganymede.hub.org> <19430.1099533223@sss.pgh.pa.us> <418AA915.7010903@postgresql.org> <20041104182322.D21566@ganymede.hub.org> <6789.1099608272@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/153 X-Sequence-Number: 60725 On Thu, 4 Nov 2004, Tom Lane wrote: >> I'm not sure if I like this one too much ... but it would be nice if >> something like this triggered a warning in the logs, maybe a feature of >> pg_autovacuum itself? > > autovacuum would probably be a reasonable place to put it. We don't > currently have any good way for autovacuum to get at the information, > but I suppose that an integrated autovacuum daemon could do so. You had mentioned doing the select on pg_class for the relations variable ... pg_autovacuum could just as easily do that as part of its start up routine, no? when it 'loads' all the table information? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664