X-Original-To: pgsql-hackers-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E5D169FA5E6 for ; Fri, 16 Jun 2006 00:14:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 96163-03 for ; Fri, 16 Jun 2006 00:14:08 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 321CA9FA5D2 for ; Fri, 16 Jun 2006 00:14:06 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id k5G3E6306468; Thu, 15 Jun 2006 23:14:06 -0400 (EDT) From: Bruce Momjian Message-Id: <200606160314.k5G3E6306468@candle.pha.pa.us> Subject: Re: Test request for Stats collector performance improvement In-Reply-To: To: Qingqing Zhou Date: Thu, 15 Jun 2006 23:14:06 -0400 (EDT) CC: pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/780 X-Sequence-Number: 85013 Qingqing Zhou wrote: > > "Tom Lane" wrote > > > > Hm? I don't see any improvement there: > > > > I was referening this sentence, though I am not sure why that's the > expectation: > > > > "Bruce Momjian" wrote > > If the patch worked, the first and third times will be similar, and > > the second time will be high. I meant that the non-stats and the patched stats should be the similar, and the stats without the patch (the second test) should be high. > -- After patch -- > > real 0m1.275s > user 0m0.097s > sys 0m0.160s > > real 0m4.063s > user 0m0.663s > sys 0m0.377s > > real 0m1.259s > user 0m0.073s > sys 0m0.160s I assume the above is just running the same test three times, right? -- Bruce Momjian http://candle.pha.pa.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +