Abnormal storage consumption with autovacuum enabled

Поиск
Список
Период
Сортировка
От Nicola Mauri
Тема Abnormal storage consumption with autovacuum enabled
Дата
Msg-id 4655B59A.7080409@saga.it
обсуждение исходный текст
Ответы Re: Abnormal storage consumption with autovacuum enabled  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
I'm using 8.1.4 on linux.
Autovacuum is enable with these settings:

stats_start_collector = on
stats_row_level = on
autovacuum = on
autovacuum_naptime = 60
autovacuum_vacuum_threshold = 1000
autovacuum_analyze_threshold = 500

Data stored in the database didn't groove very much in the last months
(pg_dump still generates a 4GB compressed file), but data files now
occupies 20 GB on disk.
I know that a vacuum full or a full dump/restore is needed to reclaim
filesystem space. However, my question is: how this could have been
happened?
I'm quite sure that data in tables never reached that size, during
normal operations.
Could be autovacuum not working properly?
How to diagnose or make sure that autovacuum is doing its job?

Thanks in advance!

Nicola



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: anonymous block in Postgres - Hello World
Следующее
От: Thomas Mack
Дата:
Сообщение: Re: Role based database access