Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 110C664FCD2 for ; Fri, 12 Sep 2008 13:33:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 69404-08 for ; Fri, 12 Sep 2008 13:33:03 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by postgresql.org (Postfix) with ESMTP id 194E364FCCC for ; Fri, 12 Sep 2008 13:33:01 -0300 (ADT) Received: by gxk10 with SMTP id 10so19350681gxk.19 for ; Fri, 12 Sep 2008 09:32:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=aenjIiufy+5de2CeYWGeuyVuCvGkRo/LgLc7pLeS7f0=; b=jrOwPrTGjMNFfRY3fBGIpO5mh7pFEgkXU0bQTvx36oXtlw62BtGBvTA8TNgFwNLs2D 8SkKsE/HNYKdAqllhNtlY7pTiMZHrGQLR5g6/AGm2Wi9CDu4kDjv1wSNwkX7jNbJrLnZ WmRej2AfP6m61nh6I3bOYMU/M0aLLHFn4PcqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Kl6QYRuq0xiN3HTCOzv2S+6r8r36kfLbfaMOQf+4Z0XcOlp9NY10VtBaTCo4Lf8G7j 9FqsQE8pPLSLC68ckjoKplhGuPmhrWuua7jq0FxtcZv/bc75Wu901PotdhlUYPa0MP12 07Qrfs1bPkrb6o5MOdV4uqZdtJpvZLRtUb8LQ= Received: by 10.187.203.15 with SMTP id f15mr609916faq.105.1221237177992; Fri, 12 Sep 2008 09:32:57 -0700 (PDT) Received: by 10.187.225.11 with HTTP; Fri, 12 Sep 2008 09:32:57 -0700 (PDT) Message-ID: <34d269d40809120932h3525bb97nbd8d982ff1aff501@mail.gmail.com> Date: Fri, 12 Sep 2008 10:32:57 -0600 From: "Alex Hunsaker" To: "Zdenek Kotala" Subject: Re: hash index improving v3 Cc: "Tom Lane" , "Xiao Meng" , pgsql-patches@postgresql.org, "Jonah H. Harris" In-Reply-To: <48CA3312.1040508@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10995.1220577198@sss.pgh.pa.us> <22574.1220728178@sss.pgh.pa.us> <34d269d40809061923k4c731481gf580d46d259defb0@mail.gmail.com> <20080909134839.GC6714@it.is.rice.edu> <34d269d40809091823t204e252fl246443be71aed9ff@mail.gmail.com> <34d269d40809092004q10b5da87r6fa3fe86926476ff@mail.gmail.com> <48C7DDF9.6020507@sun.com> <34d269d40809100927n20864e41p65c068c4ec6f6d74@mail.gmail.com> <34d269d40809102045t2f8037a4jfe862264f6f04454@mail.gmail.com> <48CA3312.1040508@sun.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/120 X-Sequence-Number: 7135 On Fri, Sep 12, 2008 at 3:14 AM, Zdenek Kotala wrote: > Alex Hunsaker napsal(a): >> >> On Wed, Sep 10, 2008 at 10:27 AM, Alex Hunsaker wrote: >>> >>> On Wed, Sep 10, 2008 at 8:47 AM, Zdenek Kotala >>> wrote: >>>> >>>> What locale did you use? It would be nice to have also comparing between >>>> C >>>> and any UTF8 locale. I think we should see big benefit when non C locale >>>> is >>>> used. >>> >>> Err yes this was UTF8, Ill see about doing a C locale. >>> >> >> And here it with a C locale: >> >> pgbench -c1 -n -t100000 -f bench.sql >> cvs head: tps = 5142.784262 >> v5: tps = 6169.405965 > > > If I look on both results > > C UTF8 difference > ----------------------------------- > cvs head: 5140 5050 -2% > v5: 6170 5750 -7% > improvement: 20% 14% > > than I little bit wonder. I personally expected bigger difference of UTF8 > comparing between CVS a v5. This test also shows that locale selection has > bigger impact on performance in v5 case, but result is still better than cvs > head. Right, I think part of it is I need to try again with a larger dataset... The reason I did three runs before was because it was variable between (v5 between 5700 and 6200). Also the query im doing ming be two simplistic because it runs to fast, thats part of why I get the variable speed between runs (i think...) Suggestions?