Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2A1CD650E7D for ; Wed, 2 Jul 2008 11:40:30 -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 55577-01 for ; Wed, 2 Jul 2008 11:40:07 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E9FF7650E7A for ; Wed, 2 Jul 2008 11:40:11 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m62Ee3hF011127; Wed, 2 Jul 2008 10:40:03 -0400 (EDT) To: "Jonah H. Harris" cc: "Gauri Kanekar" , "=?ISO-8859-1?Q?Devrim_G=DCND=DCZ?=" , pgsql-performance@postgresql.org Subject: Re: Hot Issue In-reply-to: <36e682920807020721s3e537ef8k3189c8ce3b47e6c7@mail.gmail.com> References: <7e4ba9550807020531w5480956fs2a1b5b630babda41@mail.gmail.com> <1215004084.2842.32.camel@laptop.gunduz.org> <7e4ba9550807020611x3dac7fffw8497d168c7a0e9d8@mail.gmail.com> <36e682920807020629h2b0432e9k39cc01f1693e6a40@mail.gmail.com> <7e4ba9550807020644j4f41530axd43317c7f180faed@mail.gmail.com> <36e682920807020721s3e537ef8k3189c8ce3b47e6c7@mail.gmail.com> Comments: In-reply-to "Jonah H. Harris" message dated "Wed, 02 Jul 2008 10:21:14 -0400" Date: Wed, 02 Jul 2008 10:40:03 -0400 Message-ID: <11126.1215009603@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/28 X-Sequence-Number: 30628 "Jonah H. Harris" writes: > On Wed, Jul 2, 2008 at 9:44 AM, Gauri Kanekar >> Is there a way to check if the page is fill and the update is going on a new >> page ?? > IIRC, I don't think so. You could make your application check to see if the page part of a row's CTID changes when it's updated. But there's no centralized counter other than the one you are already looking at. I personally found the original post completely content-free, however, since it gave no context for the two sets of numbers we were shown. Over what intervals were the counts accumulated? Were the stats counters reset after taking the first output, or does the second output include the first? What exactly does the OP think that "better HOT performance" is, anyway? regards, tom lane