Re: Best way to recover from crash?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Best way to recover from crash?
Дата
Msg-id 10818.1090519176@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Best way to recover from crash?  (Steve Wampler <swampler@noao.edu>)
Ответы Re: Best way to recover from crash?  (Steve Wampler <swampler@noao.edu>)
Список pgsql-general
Steve Wampler <swampler@noao.edu> writes:
> Immediately after finally deploying our PG database up
> on our mountain-top observatory, we got hit by lightening.
> (The machines were *supposed* to be installed on a RUPS,
> but weren't.  Sigh)

> A file was lost.  Now many simple commands cause the
> DB to 'crash':

> I do nightly backups of the DBs so aside from observing time
> lost this isn't catestrophic, but since it takes so long to
> restore from backup (some of the DBs are fairly large) I was
> wondering if there's a 'known procedure' for quickly recovering
> from the above.

I think you'd be foolish not to initdb and reload from the backups.
You have no way to know how extensive the data damage is ... you might
work around the problems you see now, only to find something else
later after you've put more data into the corrupted DB.

            regards, tom lane

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

Предыдущее
От: Harald Fuchs
Дата:
Сообщение: Re: polating (insert into...) a table with determined record from another table.
Следующее
От: Steve Wampler
Дата:
Сообщение: Re: Best way to recover from crash?