Re: Why so slow?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Why so slow?
Дата
Msg-id 20060428190005.GA15689@wolff.to
обсуждение исходный текст
Ответ на Re: Why so slow?  ("Bealach-na Bo" <bealach_na_bo@hotmail.com>)
Ответы Re: Why so slow?
Список pgsql-performance
On Fri, Apr 28, 2006 at 17:37:30 +0000,
  Bealach-na Bo <bealach_na_bo@hotmail.com> wrote:
> >The above shows that the indexes contained 10M rows and 160M of dead
> >space each. That means you weren't vacuuming nearly enough.
>
> How is it that a row in the table can grow to a size far exceeding the sum
> of the maximum sized of the fields it consists of?

Because unless you run vacuum, the old deleted rows are not reused. Those
rows cannot be deleted immediately, because the rows may be visible to
other transactions. Periodic vacuums are used to find deleted rows which
are no longer visible to any transactions.

You probably want to read the following:
http://developer.postgresql.org/docs/postgres/routine-vacuuming.html

В списке pgsql-performance по дате отправления:

Предыдущее
От: Ron Peacetree
Дата:
Сообщение: Re: hardare config question
Следующее
От: K C Lau
Дата:
Сообщение: Re: Why so slow?