X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id 48553CD137 for ; Sun, 20 Jul 2003 04:44:19 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 80604-06 for ; Sun, 20 Jul 2003 04:44:55 +0000 (GMT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 78BD3CD135 for ; Sun, 20 Jul 2003 01:44:17 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h6K4ipQ3019930; Sun, 20 Jul 2003 00:44:51 -0400 (EDT) To: jeremy.guthrie@berbee.com Cc: pgsql-performance@postgresql.org Subject: Re: Poor delete performance AFTER vacuum analyze In-reply-to: <200307191622.46709.jeremy.guthrie@berbee.com> References: <200307191622.46709.jeremy.guthrie@berbee.com> Comments: In-reply-to "Jeremy M. Guthrie" message dated "Sat, 19 Jul 2003 16:22:40 -0500" Date: Sun, 20 Jul 2003 00:44:51 -0400 Message-ID: <19929.1058676291@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/309 X-Sequence-Number: 2602 "Jeremy M. Guthrie" writes: > My system will run great after a full vacuum(as I would expect). It will run > all day long taking only 3-5 seconds to run and deal with approximately > 100megs of new data each day. However, the instant the system finishes only > a 'vacuum analyze', the whole thing slows WAY down to where each run can take > 10-15 minutes. Could we see EXPLAIN ANALYZE for the deletion query in both the fast and slow states? regards, tom lane