From: Gauri Kanekar <meetgaurikanekar@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Jonah H. Harris <jonah.harris@gmail.com>
Cc: Devrim GÜNDÜZ <devrim@gunduz.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Hot Issue
Date: Wed, 2 Jul 2008 20:18:11 +0530
Message-ID: <7e4ba9550807020748r5b4749c2i6148d62573722368@mail.gmail.com> (raw)
In-Reply-To: <11126.1215009603@sss.pgh.pa.us>
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>
<11126.1215009603@sss.pgh.pa.us>
2nd count include the 1st count also.
We have not restarted the DB since postgres 8.3 have been released.
Better HOT performance means.... 1st stat showed most of the updated tuples
getting hot.
But the 2nd stat showed that most of the updated tuples are NOT getting hot.
On Wed, Jul 2, 2008 at 8:10 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Jonah H. Harris" <jonah.harris@gmail.com> 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
>
--
Regards
Gauri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: meetgaurikanekar@gmail.com, tgl@sss.pgh.pa.us, jonah.harris@gmail.com, devrim@gunduz.org
Subject: Re: Hot Issue
In-Reply-To: <7e4ba9550807020748r5b4749c2i6148d62573722368@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> <11126.1215009603@sss.pgh.pa.us> <7e4ba9550807020748r5b4749c2i6148d62573722368@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox