pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jonah H. Harris <jonah.harris@gmail.com>
Cc: Gauri Kanekar <meetgaurikanekar@gmail.com>
Cc: Devrim GÜNDÜZ <devrim@gunduz.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Hot Issue
Date: Wed, 02 Jul 2008 10:40:03 -0400
Message-ID: <11126.1215009603@sss.pgh.pa.us> (raw)
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>

"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



view thread (12+ messages)  latest in thread

Message-ID: <11126.1215009603@sss.pgh.pa.us>
Permalink:  ../11126.1215009603@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11126.1215009603@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jonah.harris@gmail.com, meetgaurikanekar@gmail.com, devrim@gunduz.org
  Subject: Re: Hot Issue
  In-Reply-To: <11126.1215009603@sss.pgh.pa.us>

* 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