From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Tupple statistics function |
Date: | 2001-09-22 05:26:02 |
Message-ID: | 200109220526.f8M5Q2p00630@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
> Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> > I have written a small function that show how many tuples are dead
> > etc. in a specified table.
>
> Dead according to whose viewpoint? Under MVCC this seems to be
> in the eye of the beholder...
You can know if the tuple is visible to other backends, or at least take
a good guess like VACUUM does. Maybe he has coded that in there.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-09-22 05:29:04 | Re: Tupple statistics function |
Previous Message | Tom Lane | 2001-09-22 05:06:38 | Re: Tupple statistics function |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-09-22 05:29:04 | Re: Tupple statistics function |
Previous Message | Tom Lane | 2001-09-22 05:06:38 | Re: Tupple statistics function |