Re: Hmmm ... isn't count_nondeletable_pages all wet?

From: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Gregory Stark" <stark(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Hmmm ... isn't count_nondeletable_pages all wet?
Date: 2007-09-16 16:36:45
Message-ID: 2e78013d0709160936t1eec56e4ycbb17da6be9a9df4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

On 9/16/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
>
> Couldn't say. Those two were on my mind because the reporters had
> allowed me to troll through their table and index files and verify
> that there were indeed multiple index pointers to the same table row,
> and yet the index itself did not show any indication of corruption.
> I had noticed the "clumping" pattern of the doubly-linked rows in
> both cases, but hadn't found an explanation.
>
>
This was a nice catch indeed! I remember we fixed a similar issue
with VACUUM FULL few months back. Such issues would become
prominent with HOT because of early vacuuming and reuse of
tuples. Also unlike current VACUUM which runs exclusively on a table
(i.e. no two vacuums are allowed to run on a table simultaneously),
HOT makes concurrent pruning and vacuuming of a table possible.

In fact, during HOT development and testing cycles, I faced
similar race conditions a few times. This is just to keep ourselves aware of
the changes introduced by HOT. Hopefully by now we have fixed most of
the outstanding bugs in the HOT code (and Tom's eyes would catch the
remaining, if any :-)). Fingers crossed.

Thanks,
Pavan

--
Pavan Deolasee
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Elharar, Oded 2007-09-18 09:37:43 Problem installing postgre on windows.
Previous Message Tom Lane 2007-09-16 15:14:55 Re: Hmmm ... isn't count_nondeletable_pages all wet?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-16 18:41:31 Re: What is happening on buildfarm member dugong
Previous Message Stefan Kaltenbrunner 2007-09-16 15:57:46 Re: PL/TCL Patch to prevent postgres from becoming multithreaded