Re: Curious about dead rows.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Curious about dead rows.
Дата
Msg-id 20071114213504.GW19014@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Curious about dead rows.  (Jean-David Beyer <jeandavid8@verizon.net>)
Ответы Re: Curious about dead rows.  (Jean-David Beyer <jeandavid8@verizon.net>)
Re: Curious about dead rows.  (Craig James <craig_james@emolecules.com>)
Список 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 по дате отправления:

Предыдущее
От: Jean-David Beyer
Дата:
Сообщение: Re: Curious about dead rows.
Следующее
От: Russell Smith
Дата:
Сообщение: Re: Curious about dead rows.