Re: [HACKERS] now 6.4

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] now 6.4
Дата
Msg-id 199806292342.TAA01426@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] now 6.4  (The Hermit Hacker <scrappy@hub.org>)
Ответы Re: [HACKERS] now 6.4  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
>     Now, I liked the idea that was presented about moving the
> database directories out of the way and then moving them back in after an
> initdb...is this not doable?  What caveats are there to doing this?
> Individual database's will be missing fields added in the release upgrade,
> so if you want some of the v6.4 new features, you'd have to dump the
> individual database and then reload it, but if you don't care, you'd have
> some optimizations associated with the new release?

We will move the old data files out of the way, run initdb, reload a
pg_dump with schema-only, then move the data files back into the proper
locations, and perhaps drop/recreate all indexes.  They will have all
the features.  They have just kept their raw data files.

How long does re-indexing the tables take vs. reloading and re-indexing?

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] now 6.4
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: [HACKERS] now 6.4