X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A908B5E46C7 for ; Tue, 17 Aug 2004 18:34:01 -0300 (ADT) 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 67076-04 for ; Tue, 17 Aug 2004 21:33:58 +0000 (GMT) Received: from gatefox.foxi.nl (foxi.xs4all.nl [194.109.246.192]) by svr1.postgresql.org (Postfix) with ESMTP id 1F5235E46C5 for ; Tue, 17 Aug 2004 18:33:56 -0300 (ADT) Received: from techfox.foxi (techfox.foxi [192.168.0.79]) by gatefox.foxi.nl (8.10.2-20030922/8.10.2) with ESMTP id i7HLXgu13142 for ; Tue, 17 Aug 2004 23:33:42 +0200 From: Frank van Vugt Organization: Foxi Consultants in Technology BV Subject: Why is the number of dead tuples causing the performance of deferred triggers to degrading so rapidly (exponentionally)? Date: Tue, 17 Aug 2004 23:33:42 +0200 User-Agent: KMail/1.5.4 To: pgsql-performance@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408172333.42561.ftm.van.vugt@foxi.nl> 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: 200408/264 X-Sequence-Number: 7900 Obviously, this part of tr_f_def(): ****************************** -- delete the contents -- delete from f; IF EXISTS (SELECT 1 FROM f) THEN DELETE FROM F; VACUUM F; END IF; ****************************** should simply read: ****************************** -- delete the contents delete from f; ****************************** -- Best, Frank.