About Redo

From: Osamu Ninagi <o(dot)ninagi(at)asahi-net(dot)email(dot)ne(dot)jp>
To: pgsql-admin(at)postgresql(dot)org
Subject: About Redo
Date: 2002-02-13 17:51:37
Message-ID: 3C6AA7A9.2060509@asahi-net.email.ne.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

I want to know the use of the transaction files in "pg_xlog".
My concern is REDO such as ORACLE do.
The following is our recovery method. I don't know whether it's possible
or not.

1. Stop DB.
2. Clear the transaction files.
3. Save the directory "data" by tar command.
4. Start DB.
:
Something is wrong and decide to recover.
:
5. Stop DB.
6. Remove new DB except the transaction files.
7. Copy back old DB.
8. And REDO. (But how?)

The tables or indexes are not created.
(At the begining of the system, all are created.)

Best regards,

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Pam Wampler 2002-02-13 18:10:56 Can you turn off the WAL on importing data?
Previous Message Tom Lane 2002-02-13 16:01:52 Re: Number of connection