Re: Dump/Restore vs Vacuum Full

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Dump/Restore vs Vacuum Full
Дата
Msg-id 413996BA.9070806@bigfoot.com
обсуждение исходный текст
Ответ на Re: Dump/Restore vs Vacuum Full  (Adi Alurkar <adi@sf.net>)
Список pgsql-admin
Adi Alurkar wrote:
> Any comments ?
> knock knock!! is this thing ON?
>
> On Sep 1, 2004, at 5:59 PM, Adi Alurkar wrote:
>
>> Greetings,
>>
>> Are there any differences, advantages of running a dump/restore vs
>> running the following:1)REINDEX all the tables in all the databases,
>> 2)VACUUM FULL ANALYZE on all the databases
>>
>> Assuming the following
>> 1) the system can be offline.
>> 2) PG version 7.4.x
>> 3) pg_autovacuum running as a daemon with 30 minutes sleep but have
>> had a few occasions where pg_autovacuum had to be killed and restarted.
>> 4) FSM settings are set > than required by VACUUM ANALYZE VERBOSE "test".

Go for a vacuum full and reindex of all tables. The advantages are that
the dump/restore is longer if your vacuum the database quite enough

BTW, with 7.4.x there is no needs to run vacuum full so much

Regards
Gaetano Mendola









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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: a pretty way to view group members?
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Selecting HW RAID controller