Re: Relpages not being recovered?

Поиск
Список
Период
Сортировка
От Adam Singer
Тема Re: Relpages not being recovered?
Дата
Msg-id EFDE174C81D5264AA89AB15AEC039A86025A85@epfr01.easyplanet.com
обсуждение исходный текст
Ответ на Relpages not being recovered?  ("Adam Singer" <asinger@easyplanet.com>)
Список pgsql-admin
Actually, I thought a VACUUM or VACUUM ANALYZE would provide the results I wanted.

After I realized my error, a VACUUM FULL gave me what I needed and problem solved.

Thanks for the help though!

Adam

-----Message d'origine-----
De : Tom Lane [mailto:tgl@sss.pgh.pa.us]
Envoyé : jeudi 5 septembre 2002 18:47
À : Adam Singer
Cc : pgsql-admin@postgresql.org
Objet : Re: [ADMIN] Relpages not being recovered?


"Adam Singer" <asinger@easyplanet.com> writes:
> After deleting unecessary tuples, reindexing, and vacuuming, pg_class gives=
>  the following:

Did you VACUUM FULL, or just VACUUM?

> Does anyone know what may be causing this and if there is a way to force th=
> e relpages column to be recalculated?

I can assure you that relpages is correct after a vacuum --- look at the
physical file for the table if you want to confirm it.

The answer you are probably really looking for is some combination of
more-frequent vacuums and increasing your FSM configuration parameters
so that free space in the table is recycled more effectively.  Try
searching the list archives for "free space map".

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: turn off auto-commit
Следующее
От: Tom Lane
Дата:
Сообщение: Re: problems with InitDB under CyqWin