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

From Alvaro Herrera
Subject Re: Curious about dead rows.
Date
Msg-id 20071114213504.GW19014@alvh.no-ip.org
Whole thread Raw
In response to Re: Curious about dead rows.  (Jean-David Beyer <jeandavid8@verizon.net>)
Responses Re: Curious about dead rows.
Re: Curious about dead rows.
List pgsql-performance
Jean-David Beyer wrote:
> Mario Weilguni wrote:

> > Did you rollback some transactions? It will generate dead rows too - at
> > least I think so.
> >
> No, and the statistics confirm this.

To recap:

- your app only does inserts
- there has been no rollback lately
- there are no updates
- there are no deletes

The only other source of dead rows I can think is triggers ... do you
have any?  (Not necessarily on this table -- perhaps triggers on other
tables can cause updates on this one).

Oh, rolled back COPY can cause dead rows too.

--
Alvaro Herrera                               http://www.PlanetPostgreSQL.org/
"Before you were born your parents weren't as boring as they are now. They
got that way paying your bills, cleaning up your room and listening to you
tell them how idealistic you are."  -- Charles J. Sykes' advice to teenagers

pgsql-performance by date:

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