Re: Slow sequential scans on one DB but not another; fragmentation?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow sequential scans on one DB but not another; fragmentation?
Дата
Msg-id 25274.1175096187@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Slow sequential scans on one DB but not another; fragmentation?  (Stephen Harris <lists@spuddy.org>)
Ответы Re: Slow sequential scans on one DB but not another; fragmentation?  (Stephen Harris <lists@spuddy.org>)
Re: Slow sequential scans on one DB but not another; fragmentation?  (Stephen Harris <lists@spuddy.org>)
Список pgsql-general
Stephen Harris <lists@spuddy.org> writes:
> INFO:  "sweep_users": found 835831 removable, 972662 nonremovable row versions in 2890304 pages
> DETAIL:  0 dead row versions cannot be removed yet.
> There were 112212932 unused item pointers.

Oy, that's one bloated table ... only one live row in every three or so pages.

Probably a CLUSTER is the most effective way of cleaning it up.  Once
you get it down to size, revisit your vacuuming policy, because it
definitely isn't getting vacuumed often enough.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: unexpected data beyond EOF and character encoding
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: redhat debug info