Re: Interpreting vacuum verbosity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Interpreting vacuum verbosity
Дата
Msg-id 14908.1083955704@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Interpreting vacuum verbosity  ("Ed L." <pgsql@bluepolka.net>)
Ответы Re: Interpreting vacuum verbosity  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-general
"Ed L." <pgsql@bluepolka.net> writes:
> 2)  Would this low setting of 10000 explain the behavior we saw of seqscans
> of a perfectly analyzed table with 1000 rows requiring ridiculous amounts
> of time even after we cutoff the I/O load?

Possibly.  The undersized setting would cause leakage of disk space
(that is, new rows get appended to the end of the table even when space
is available within the table, because the system has "forgotten" about
that space due to lack of FSM slots to remember it in).  If the physical
size of the table file gets large enough, seqscans will take a long time
no matter how few live rows there are.  I don't recall now whether your
VACUUM VERBOSE results showed that the physical table size (number of
pages) was out of proportion to the actual number of live rows.  But it
sure sounds like that might have been the problem.

            regards, tom lane

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

Предыдущее
От: Jeff
Дата:
Сообщение: Re: any experience with multithreaded pg apps?
Следующее
От: Ben
Дата:
Сообщение: Re: any experience with multithreaded pg apps?