X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 0C2889FA279 for ; Wed, 17 May 2006 18:32:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 31985-03 for ; Wed, 17 May 2006 18:32:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 30B869FA38E for ; Wed, 17 May 2006 18:32:03 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.13.1/8.13.1) with ESMTP id k4HLVmqB091221 for ; Wed, 17 May 2006 18:31:49 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.13.1/8.13.1/Submit) id k4HL3nAS067162 for pgsql-admin@postgresql.org; Wed, 17 May 2006 18:03:49 -0300 (ADT) (envelope-from news) From: Chris Browne X-Newsgroups: pgsql.admin Subject: Re: autovacuum for large periodic deletes Date: Wed, 17 May 2006 20:56:06 +0000 Organization: cbbrowne Computing Inc Lines: 19 Message-ID: <60bqtw8j6h.fsf@dba2.int.libertyrms.com> References: <6992E470F12A444BB787B5C937B9D4DF045AF151@ca-mail1.cis.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:4v484Ym9OkPdhYP45PN1/RO28O8= To: pgsql-admin@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/241 X-Sequence-Number: 21773 sdandapani@counterpane.com ("Sriram Dandapani") writes: > Every night, a delete of about 50 million rows occurs on a table. Do > we need to explicitly vacuum the table or will autovacuum handle the > large deletes without affecting performance. I am trying to > determine whether or not I should completely rely on autovacuum or > also tinker with manual vacuums.:p> I'd be inclined to submit a vacuum on the table as part of the process. Moreover, I'd be inclined to consider this situation to perhaps be something of a bug. Deleting enormous amounts of data from a table, on a regular basis, is not something I would expect would work out well. -- (reverse (concatenate 'string "moc.enworbbc" "@" "enworbbc")) http://cbbrowne.com/info/postgresql.html We are MICROS~1. You will be assimilated. Resistance is futile. (Attributed to B.G., Gill Bates)