Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 8A3679FB350 for ; Tue, 5 Jun 2007 11:22:28 -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 97545-09 for ; Tue, 5 Jun 2007 11:22:19 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.229]) by postgresql.org (Postfix) with ESMTP id 8A3D29FB353 for ; Tue, 5 Jun 2007 11:22:19 -0300 (ADT) Received: by hu-out-0506.google.com with SMTP id 22so762844hug for ; Tue, 05 Jun 2007 07:22:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=mQmmbNCQXbya/MZolRhgCsgANs/Xvbp5/eQaRbvSqORgzFLPqcw8AvDIuBdKzX5jiCB2z7w3TkBFssTTVJArQGCDTgYSxfmKycdnrpeQdMnnI/MT+n7hnDER+c3of2GXpiUOFEYD1ZUYvMFdi4pcOKVahLdKmcuEVa7iosJmZR4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=UvIHVb8A9autTic7FpHOkMhnF/roj7KeylLAYeEEQQIUwRJmj63ai0WahSdowtw99Yl7yqr0id5VjPB5UNXbYhaCn+3/zt/5/yAA+3nyjvpyMRMZ8HlctFMQ691pi9pIn/AdTBk0HMMviWjAQ5yCk4jzs0iZOBNwd63d4qg01Lw= Received: by 10.78.162.4 with SMTP id k4mr2466949hue.1181053334616; Tue, 05 Jun 2007 07:22:14 -0700 (PDT) Received: from ?192.168.1.33? ( [82.3.233.102]) by mx.google.com with ESMTP id 34sm631837nfu.2007.06.05.07.22.12; Tue, 05 Jun 2007 07:22:13 -0700 (PDT) Message-ID: <46657180.7010604@enterprisedb.com> Date: Tue, 05 Jun 2007 15:21:52 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: Markus Schiltknecht CC: pgsql-performance@postgresql.org Subject: Re: dbt2 NOTPM numbers References: <466428F7.5010808@bluegap.ch> <46642B33.6030101@enterprisedb.com> <46642F2E.3080509@bluegap.ch> <4664748B.2060304@enterprisedb.com> <4665703E.3040905@bluegap.ch> In-Reply-To: <4665703E.3040905@bluegap.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/66 X-Sequence-Number: 25099 Markus Schiltknecht wrote: > Hi, > > Heikki Linnakangas wrote: >> I still suspect there's something wrong with plans, I doubt you can >> get that bad performance unless it's doing something really stupid. > > Agreed, but I'm still looking for that really stupid thing... AFAICT, > there are really no seqscans..., see the pg_stat_user_tables below. > >> I'd suggest setting log_min_duration_statement = 5000, and seeing what >> you get. Also check pg_stat_user_table.seq_scan just to be extra sure >> there's no seq scans. > > I've also added some of the log messages for min_duration_statement > below. Both were taken after two or three test runs. > > I'm really wondering, if the RAID 6 of the ARECA 1260 hurts so badly. > That would be disappointing, IMO. I'll try if I can reconfigure it to do > RAID 1+0, and then test again. (Unfortunately the box has already been > shipped to the customer, so that's getting tricky to do via ssh..:-( ). Maybe, TPC-C is very write-intensive. I don't know much about RAID stuff, but I think you'd really benefit from a separate WAL drive. You could try turning fsync=off to see if that makes a difference. Oh, and how many connections are you using? DBT-2 can be quite sensitive to that. 30 seems to work pretty well for me. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com