This is a discussion on How can I restore from WAL log? [PG 7.3] within the pgsql Admins forums, part of the PostgreSQL category; --> Hi, I am new to PostgreSQL and now want to know how can I recover from a database crash. ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I am new to PostgreSQL and now want to know how can I recover from a database crash. I know pg_dump and pg_restore but with pg_dump all transactions between every pg_dump will be lost. I found WAL in the doc and seems with it I can archieve point-in-time recovery. But I don't know the exact steps of doing this. Any input, link or tutorials will be greatly appreciated. Thanks in advance. Michael _______________________________________ YM - 離線訊息 就算你沒有上網,你的朋友仍可以留下訊息給你,當你上 網時就能立即看到,任何說話都冇走失。 http://messenger.yahoo.com.hk |
| ||||
| On Thu, Sep 28, 2006 at 22:16:19 +0800, Chan Michael <michael_kychan@yahoo.com.hk> wrote: > Hi, > > I am new to PostgreSQL and now want to know how can I recover from a database crash. If you are just talking about the server dying unexpectedly, you recover by restarting it. Doing this should recover all transactions. Note that if your hard drives a lying to you about write completion, this might not work. ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |