pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedAbout Redo
2+ messages / 2 participants
[nested] [flat]
* About Redo
@ 2002-02-13 17:51 Osamu Ninagi <o.ninagi@asahi-net.email.ne.jp>
2002-02-13 18:32 ` Re: About Redo Chris Ruprecht <chrup999@yahoo.com>
0 siblings, 1 reply; 2+ messages in thread
From: Osamu Ninagi @ 2002-02-13 17:51 UTC (permalink / raw)
To: 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,
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: About Redo
2002-02-13 17:51 About Redo Osamu Ninagi <o.ninagi@asahi-net.email.ne.jp>
@ 2002-02-13 18:32 ` Chris Ruprecht <chrup999@yahoo.com>
0 siblings, 0 replies; 2+ messages in thread
From: Chris Ruprecht @ 2002-02-13 18:32 UTC (permalink / raw)
To: Osamu Ninagi <o.ninagi@asahi-net.email.ne.jp>; +Cc: pgsql-admin
No. The WAL files do not contain data to redo everything which was
done to the database since day X. The WAL files contain data of
current active transactions. In case the transaction aborts, the
database will be returned to the stage it was in before the
transaction started (aka Before Imaging). The scenario you are
describing is sometimes called After Imaging and as far as I know, it
is not (yet) implemented in PostgreSQL.
Best regards,
Chris
At 02:51 +0900 02/14/2002, Osamu Ninagi wrote:
>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.
[snip]
--
Chris Ruprecht
Network grunt and bit pusher extraordinaíre
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-02-13 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-13 17:51 About Redo Osamu Ninagi <o.ninagi@asahi-net.email.ne.jp>
2002-02-13 18:32 ` Chris Ruprecht <chrup999@yahoo.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox