Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 934339FB1DE for ; Mon, 6 Aug 2007 14:59:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 98114-05 for ; Mon, 6 Aug 2007 14:59:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.phase.net.nz (ip-202-50-176-133.akl1.phase.net.nz [202.50.176.133]) by postgresql.org (Postfix) with ESMTP id 455279FB1A5 for ; Mon, 6 Aug 2007 14:58:57 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.phase.net.nz (Postfix) with ESMTP id CFE9786C82; Tue, 7 Aug 2007 05:58:54 +1200 (NZST) Received: from mail.phase.net.nz ([202.50.176.133]) by localhost (host01.akl1.phase.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24162-01; Tue, 7 Aug 2007 05:58:49 +1200 (NZST) Received: from ASUSTED (166-179-22-74.jamamobile.co.nz [166.179.22.74]) by mail.phase.net.nz (Postfix) with ESMTP id D5C8686C80; Tue, 7 Aug 2007 05:58:48 +1200 (NZST) From: "Ted Jordan" To: "'Merlin Moncure'" Cc: Subject: Re: Default Performance between 8.0 and 8.1 Date: Tue, 7 Aug 2007 05:58:19 +1200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcfXzWXTyXecrfGcTTi/cXedMeZoRwAhS0cA In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Message-Id: <20070806175848.D5C8686C80@mail.phase.net.nz> X-Virus-Scanned: Debian amavisd-new at host01.akl1.phase.net.nz X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/49 X-Sequence-Number: 26179 Thanks Merlin. I was running both via ssh so it effectively these were local results. I will try to isolate the issue to a single statement. But I think you have answered the larger question i.e. there is no well known situation where this happens so I should expect to see roughly the same performance between 8.0 and 8.1 for data loads and will therefore focus on the specifics of our environment. Regards, -Ted. -----Original Message----- From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Merlin Moncure Sent: 6 August 2007 1:57 p.m. To: Ted Jordan Cc: pgsql-performance@postgresql.org Subject: Re: [PERFORM] Default Performance between 8.0 and 8.1 On 8/5/07, Ted Jordan wrote: > We currently have some databases running under 8.0 and 8.1. I have noticed > a significant difference in the time taken to restore dumps between the two > versions, with 8.0 being much faster. For example a dump of a few MB will > take just seconds to load under 8.0 but the same dump will take several > minutes to load under 8.1. Currently we're just using the default parameter > settings when installed via apt on Ubuntu Linux. a few seconds to several minutes is not the kind of variance that is explainable by architecture changes between the versions. something is amiss. 'maintenance_work_mem' can make a big difference with data loads due to faster index builds but even that would not account for the difference. are you running locally or remotely? if running remotely, you might be seeing some networking/tcp problems. can you reduce your problem down to a single copy statement for analysis? merlin ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq