Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id E031A9F9F7D for ; Sat, 8 Sep 2007 18:51:33 -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 62168-02 for ; Sat, 8 Sep 2007 18:51:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from oxford.xeocode.com (unknown [87.127.95.196]) by postgresql.org (Postfix) with ESMTP id D47CB9F9F13 for ; Sat, 8 Sep 2007 18:51:29 -0300 (ADT) Received: from localhost.enta.net ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.67) (envelope-from ) id 1IU8D1-0003EF-2n; Sat, 08 Sep 2007 22:51:19 +0100 To: "Josh Berkus" Cc: , "Markus Schiltknecht" , "Tom Lane" Subject: Re: WIP patch for latestCompletedXid method of computing snapshot xmax In-Reply-To: <200709081418.35059.josh@agliodbs.com> (Josh Berkus's message of "Sat\, 8 Sep 2007 14\:18\:34 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.hackers" 13261) References: <3018.1189214811@sss.pgh.pa.us> <28198.1189282917@sss.pgh.pa.us> <46E30EB4.7020304@bluegap.ch> <200709081418.35059.josh@agliodbs.com> From: Gregory Stark Organization: EnterpriseDB Date: Sat, 08 Sep 2007 22:51:18 +0100 Message-ID: <87myvwx1ux.fsf@oxford.xeocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/371 X-Sequence-Number: 107523 "Josh Berkus" writes: > Hmmm. Your results are withing the margin of error for DBT2, so they show no > real difference. What we need for this is a heavy-read workload, though; on > a workload like DBT2 (which is mostly writes) I wouldn't expect lazy-XID to > help much. The TPM is definitely within the margin of error but the 90th percentile response times seem worrisome. But they're already over 5s which are TPC-C failures. From what we've seen when you push the scale factor too high until those numbers are even close to 5s you get very unstable results. The published benchmarks seem to keep the max around 5s which puts the 90th percentile around half that. That seems overly conservative but I wonder what reason they have for doing it that way. > I'll see if I can find something appropriate. Maybe Jan's TPC-W > implementation? We could just rejigger the percentages on the transactions. I think Stock Level and Order Status are entirely read-only but I would have to check. Stock Level is a very intensive query though so I wouldn't suggest raising the percentage on that. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com