Received: from bigglesworth.mail.be.easynet.net (bigglesworth.mail.be.easynet.net [212.100.160.67]) by postgresql.org (Postfix) with ESMTP id 36E3147734B for ; Thu, 11 Apr 2002 11:31:00 -0400 (EDT) Received: from bidibule.office.be.easynet.net ([212.100.163.150]) by bigglesworth.mail.be.easynet.net with esmtp (Exim 3.35 #1) id 16vgXX-00023H-00; Thu, 11 Apr 2002 17:31:11 +0200 Received: from rb by bidibule.office.be.easynet.net with local (Exim 3.35 #1 (Debian)) id 16vgWj-0006ce-00; Thu, 11 Apr 2002 17:30:21 +0200 Date: Thu, 11 Apr 2002 17:30:21 +0200 From: Raphael Bauduin To: Tom Lane Cc: Raphael Bauduin , pgsql-admin@postgresql.org Subject: Re: performance "tests" Message-ID: <20020411153021.GA25256@raphael> References: <20020410130046.GB8153@raphael> <5607.1018453023@sss.pgh.pa.us> <20020411134256.GA28547@raphael> <895.1018535680@sss.pgh.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <895.1018535680@sss.pgh.pa.us> User-Agent: Mutt/1.3.28i X-Archive-Number: 200204/94 X-Sequence-Number: 3982 On Thu, Apr 11, 2002 at 10:34:40AM -0400, Tom Lane wrote: > Raphael Bauduin writes: > > I just installed 7.2.1. I run 7.1.3 in parallel. after I run the script > > to introduce 1000 rows in T1 in each version, deleting is much faster > > with 7.1.3 than with 7.2.1 (I took the same configuration parameters for > > both servers...). When running the delete query in parallel, 7.1.3 > > finishes really faster. > > Uh, what was the test query again? And what does EXPLAIN say about it > on each version? I just want to delete all rows in the table T1. As all other tables have foreign keys coming from T1, all rows in all tables are deleted. For example, from T1: test=# select * from T1 where k1>50 and k1< 55; k1 | k2 | k3 | k4 | k5 ----+----+----+----+---- 51 | 3 | 42 | 26 | 7 52 | 15 | 32 | 35 | 2 53 | 4 | 8 | 11 | 12 54 | 3 | 33 | 38 | 26 (4 rows) for Tj, kj is primary key. for 0