Re: Renaming a DB

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Renaming a DB
Дата
Msg-id 19811.1058760567@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Renaming a DB  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Renaming a DB
Список pgsql-admin
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom, why was a VACUUM FULL required?

I doubt that it was; a VACUUM would have sufficed to fix the tuple
commit bits.  What I forgot to recommend was a CHECKPOINT to make
sure the fixed pages got dumped to disk.  (Until they're written
out to the kernel, a new backend would still see the old pages
when it's doing the GetRawDatabaseInfo cruft.)

I think a VAC FULL would have flushed dirty pages, but a plain VACUUM
wouldn't, so VAC FULL is a second way of getting the result.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Renaming a DB
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Renaming a DB