Re: Huge number of disk writes after migration to 8.1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Huge number of disk writes after migration to 8.1
Дата
Msg-id 22030.1137535929@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Huge number of disk writes after migration to 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Huge number of disk writes after migration to 8.1  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: Huge number of disk writes after migration to 8.1  (Marcin <migor@op.pl>)
Список pgsql-bugs
Marcin <migor@op.pl> writes:
> Autovacuum is off.
> The VACUUM FULL  bottom line is:
> INFO:  free space map contains 59842 pages in 25371 relations
> DETAIL:  A total of 426720 page slots are in use (including overhead).
> 426720 page slots are required to track all free space.

> And the quick iterations for all the DBs with psql -t -c "\dt" shows
> 67654 rows.

> So there's not 81952, BUT, the tables are created (and dropped) quite
> often during the work hours (and they're regular, not TEMPORARY tables).
>  I also find out, that there were 11170 tables created (and most of them
> dropped) today.

Looking at the code, stats entries for dropped tables are cleaned out
only when a VACUUM command is done; which is something we probably ought
to change.  However, that's always been the case, so I don't understand
why your stats file is so much bigger in 8.1.  Have you changed your
vacuuming strategy at all since the 8.0 installation?  Perhaps row or
block statistics weren't enabled in the 8.0 installation and are now?

            regards, tom lane

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: improper estimates even with high statistic values
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Huge number of disk writes after migration to 8.1