Re: Curious about dead rows. - Mailing list pgsql-performance

From Russell Smith
Subject Re: Curious about dead rows.
Date
Msg-id 473B6C9D.1020804@pws.com.au
Whole thread Raw
In response to Re: Curious about dead rows.  (Jean-David Beyer <jeandavid8@verizon.net>)
Responses Re: Curious about dead rows.
List pgsql-performance
Jean-David Beyer wrote:
> [snip]
> 2007-11-14 12:00:31 EST DEBUG:  analyzing "public.vl_in"
> 2007-11-14 12:00:31 EST DEBUG:  "vl_in": scanned 2001 of 2001 pages,
> containing 183983 live rows and 52 dead rows; 3000 rows in sample, 183983
> estimated total rows
> 2007-11-14 12:00:31 EST DEBUG:  analyzing "public.vl_cf"
> 2007-11-14 12:00:31 EST DEBUG:  "vl_cf": scanned 1064 of 1064 pages,
> containing 134952 live rows and 89 dead rows; 3000 rows in sample, 134952
> estimated total rows
> 2007-11-14 12:00:31 EST DEBUG:  analyzing "public.vl_as"
> 2007-11-14 12:00:31 EST DEBUG:  "vl_as": scanned 1732 of 1732 pages,
> containing 134952 live rows and 120 dead rows; 3000 rows in sample, 134952
> estimated total rows
> 2007-11-14 12:00:31 EST DEBUG:  analyzing "public.vl_ranks"
> 2007-11-14 12:00:31 EST DEBUG:  "vl_ranks": scanned 1485 of 1485 pages,
> containing 188415 live rows and 162 dead rows; 3000 rows in sample, 188415
> estimated total rows
> 2007-11-14 12:00:31 EST DEBUG:  analyzing "public.vl_mi"
> 2007-11-14 12:00:31 EST DEBUG:  "vl_mi": scanned 1325 of 1325 pages,
> containing 134952 live rows and 191 dead rows; 3000 rows in sample, 134952
> estimated total rows
> 2007-11-14 12:00:31 EST DEBUG:  analyzing "public.vl_li"
> 2007-11-14 12:00:31 EST DEBUG:  "vl_li": scanned 1326 of 1326 pages,
> containing 134952 live rows and 218 dead rows; 3000 rows in sample, 134952
> estimated total rows
>
What does vacuum verbose have to say about this situation?
It is possible that analyze is not getting the number of dead rows right?
Does analyze, followed by vacuum verbose give the same dead row counts?

Sorry for lots of questions, I'm just throwing ideas into the mix.

Russell.
>


pgsql-performance by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Curious about dead rows.
Next
From: Jean-David Beyer
Date:
Subject: Re: Curious about dead rows.