Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 6D96D9FB426 for ; Tue, 10 Oct 2006 19:47:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 23600-03 for ; Tue, 10 Oct 2006 22:47:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E53679FB410 for ; Tue, 10 Oct 2006 19:47:09 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k9AMl7YB013913; Tue, 10 Oct 2006 18:47:07 -0400 (EDT) To: brendan.curran@gmail.com cc: Pg Performance list Subject: Re: Scrub one large table against another In-reply-to: <452C208C.5010603@gmail.com> References: <452C1437.9040709@gmail.com> <13451.1160518445@sss.pgh.pa.us> <452C208C.5010603@gmail.com> Comments: In-reply-to Brendan Curran message dated "Tue, 10 Oct 2006 16:37:00 -0600" Date: Tue, 10 Oct 2006 18:47:07 -0400 Message-ID: <13912.1160520427@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200610/211 X-Sequence-Number: 21340 Brendan Curran writes: > Tom Lane wrote: >> Have you tried doing EXPLAIN ANALYZE of each of the INSERT/DELETE steps? > FIRST INSERT (Just the select is explained): EXPLAIN ANALYZE, please, not just EXPLAIN. regards, tom lane