Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 531029FBCDB for ; Mon, 4 Jun 2007 17:23:14 -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 97125-03 for ; Mon, 4 Jun 2007 17:23:07 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by postgresql.org (Postfix) with ESMTP id D472F9FBD43 for ; Mon, 4 Jun 2007 17:23:06 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id u2so984298uge for ; Mon, 04 Jun 2007 13:23:04 -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=a43GlLaKlBS0ttJ1T4AQlSxMU3531P5469ec+0JCfrfCvvfya7WTuUqkORA7V0nZsqGjhAZa8sa50yeCIkEUOveI2aJcMgOdR6m1y4naPEu/VowTsuVCGnYI3ngRdsadxWlqJN0Tuc4ZpM7TGXDumQ8/91uAU0k7Hwb96zvK1hk= 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=TiIbJesdIxM9Rxqw/yIfTQC4Jz4/1qRYESc6gKZX01jx9JbvnuauRJA24YHEKdhEXqSf3q8jEaDmn6jyhoiOSZXpv0jYwvjH9W8TXtTNminyY6HyobSzfm5S1VcPnm15pomrW92AWbAuVGo63XtrlTBmeevNqzRbjnpQeMHLzhQ= Received: by 10.66.219.11 with SMTP id r11mr3348166ugg.1180988584531; Mon, 04 Jun 2007 13:23:04 -0700 (PDT) Received: from ?192.168.1.33? ( [82.3.233.102]) by mx.google.com with ESMTP id 54sm970963ugp.2007.06.04.13.22.58; Mon, 04 Jun 2007 13:23:02 -0700 (PDT) Message-ID: <4664748B.2060304@enterprisedb.com> Date: Mon, 04 Jun 2007 21:22:35 +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> In-Reply-To: <46642F2E.3080509@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/48 X-Sequence-Number: 25081 Markus Schiltknecht wrote: > Hi, > > Heikki Linnakangas wrote: >> There's clearly something wrong. The response times are ridiculously >> high, they should be < 5 seconds (except for stock level transaction) >> to pass a TPC-C test. I wonder if you built any indexes at all? > > Hm.. according to the output/5/db/plan0.out, all queries use index > scans, so that doesn't seem to be the problem. I still suspect there's something wrong with plans, I doubt you can get that bad performance unless it's doing something really stupid. 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. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com