Re: HELP!!! Corrupt Database!

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: HELP!!! Corrupt Database!
Дата
Msg-id 42B7CC80.80205@archonet.com
обсуждение исходный текст
Ответ на HELP!!! Corrupt Database!  (Yuri Gordienko <gue@datecs.kiev.ua>)
Список pgsql-general
Yuri Gordienko wrote:
> Hi,
>
> The computer with database has lost power and after restarting I can't
> connect to database:
>
> connection to database "db_client" failed: FATAL:  invalid memory alloc
> request size 4294901760
>
> version:
> postgresql-7.4.6
>
> Help me with this problem. I don't have reserve copy of database :(

And now you know why you're supposed to have a backup :-(
The bad news is it sounds like your database may be corrupted. The good
news is it might be possible to recover most of it.

1. Stop the database
2. Take a complete file-level backup of *all* the files in your
PostgreSQL data directory - data, postgresql.conf, xlog stuff etc.
3. Try to start the database and see what you get in the logs. Post the
log errors here.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Scripting issues
Следующее
От: "David Parker"
Дата:
Сообщение: startup time