Re: more corruption

Поиск
Список
Период
Сортировка
От Tim Perdue
Тема Re: more corruption
Дата
Msg-id 39694269.A5D9025@valinux.com
обсуждение исходный текст
Ответ на Re: more corruption  (The Hermit Hacker <scrappy@hub.org>)
Ответы Re: more corruption  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
The Hermit Hacker wrote:
> just a quick thought ... have you tried shutting down and restrating the
> postmaster?  basically, "reset" the shared memory?  v7.x handles
> corruptions like that alot cleaner, but previous versions caused odd
> results if shared memory got corrupted ...

Well, I've rebooted twice. In fact, it was a hard lock that caused the
problems. When the machine was brought back up, the db was foobar.

I'm doing something really really evil to avoid losing the last days'
data:

-I created a new db
-used the old db schema to create all new blank tables
-copied the physical table files from the old data directory into the
new database directory
-currently vacuuming the new db - nothing is barfing yet
-now hopefully I can create my indexes and be back in business

Tim

-- 
Founder - PHPBuilder.com / Geocrawler.com
Lead Developer - SourceForge
VA Linux Systems
408-542-5723


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: more corruption
Следующее
От: Philip Warner
Дата:
Сообщение: Re: Re: [GENERAL] PostgreSQL vs. MySQL