Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 6E7AE9FBB3A for ; Fri, 13 Jul 2007 13:30:57 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 14663-03 for ; Fri, 13 Jul 2007 13:30:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 86F339FBACD for ; Fri, 13 Jul 2007 13:30:54 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l6DGUk8A023093; Fri, 13 Jul 2007 12:30:47 -0400 (EDT) To: Adriaan van Os cc: pgsql-performance@postgresql.org Subject: Re: TRUNCATE TABLE In-reply-to: <4697A58E.8060904@microbizz.nl> References: <46953949.3030201@microbizz.nl> <87ps2ypox3.fsf@oxford.xeocode.com> <46972DFA.9000900@microbizz.nl> <20070713124435.GL31358@mathom.us> <21495.1184337630@sss.pgh.pa.us> <4697A58E.8060904@microbizz.nl> Comments: In-reply-to Adriaan van Os message dated "Fri, 13 Jul 2007 18:17:18 +0200" Date: Fri, 13 Jul 2007 12:30:46 -0400 Message-ID: <23092.1184344246@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/156 X-Sequence-Number: 25840 Adriaan van Os writes: > I started another test. I copied an existing database (not very large, > 35 tables, typically a few hundred up to a few thousand records) with > CREATE DATABASE testdb TEMPLATE mydb and started to remove random > tables from testdb with DROP TABLE and TRUNCATE TABLE. I did this with > the query tool of pgAdmin III, to exclude any doubts about my own > software (that uses pqlib). Can you try it with plain psql? pgAdmin is a variable that wasn't accounted for in my tests. > The hardware is an Intel dual-core 17-inch > MacBook Pro running Mac OS X 10.4. Hmm. I thought you said Fedora before. However, I'd done a few tests yesterday on my own Mac laptop (Al G4) and not gotten results that were out of line with HPUX or Fedora. Does anyone else want to try replicating these tests? regards, tom lane