Re: Urgent!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Urgent!
Дата
Msg-id 23171.1129221077@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Urgent!  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-admin
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> You should never just turn off a database server... always shut it down
>> normally... Turning it off was a major mistake.

> PostgreSQL should never get corrupted by turning off the server.  It
> isn't ideal to do that, but it should not get corrupted.

We can only make that promise if we are on hardware that doesn't lie to
us about disk write completion ... if this machine is generic PC
hardware it's probably not configured properly.

The symptoms sound to me like corrupt data (probably due to a partial
page disk write).  There isn't going to be any magic fix, but you can
probably recover everything but the specific damaged page(s).  See the
mailing list archives for previous discussions of cleaning up data
corruption.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Urgent!
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: DB Cluster hanging