Search Postgresql Archives

Re: HELP!!! Corrupt Database!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux