Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 6CF2D9FC1E8 for ; Fri, 13 Jul 2007 16:32:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 24315-03 for ; Fri, 13 Jul 2007 16:32:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp.vodafone.nl (smtp-out.vizzavi.nl [195.232.199.126]) by postgresql.org (Postfix) with ESMTP id 07F289FC1BE for ; Fri, 13 Jul 2007 16:32:22 -0300 (ADT) Received: from conversion-daemon.vfnlw44s.vfnl.dc-ratingen.de by vfnlw44s.vfnl.dc-ratingen.de (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JL400001U1QT500@vfnlw44s.vfnl.dc-ratingen.de> (original mail from postgres@microbizz.nl) for pgsql-performance@postgresql.org; Fri, 13 Jul 2007 21:32:16 +0200 (MEST) Received: from [212.56.242.41] by vfnlw44s.vfnl.dc-ratingen.de (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JL4002EPU9M4D60@vfnlw44s.vfnl.dc-ratingen.de> for pgsql-performance@postgresql.org; Fri, 13 Jul 2007 21:32:16 +0200 (MEST) Date: Fri, 13 Jul 2007 21:32:09 +0200 From: Adriaan van Os Subject: Re: TRUNCATE TABLE In-reply-to: <23092.1184344246@sss.pgh.pa.us> To: pgsql-performance@postgresql.org Message-id: <4697D339.2090204@microbizz.nl> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT 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> <23092.1184344246@sss.pgh.pa.us> User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060516) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/165 X-Sequence-Number: 25849 Tom Lane wrote: > 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. Will do that and report the results. >> The hardware is an Intel dual-core 17-inch >> MacBook Pro running Mac OS X 10.4. > > Hmm. I thought you said Fedora before. Yes, the test that I mentioned yesterday was on Fedora, but as you were "of the opinion that there's something broken about Adriaan's infrastructure" I tried the new test on a completely different system today. 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? Thanks, Adriaan van Os