Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1DHkIE26871 for ; Wed, 13 Feb 2002 12:46:19 -0500 (EST) (envelope-from o.ninagi@asahi-net.email.ne.jp) Received: from asahi-net.email.ne.jp (i223082.ppp.asahi-net.or.jp [61.125.223.82]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 52D6E615E for ; Thu, 14 Feb 2002 02:46:23 +0900 (JST) Message-ID: <3C6AA7A9.2060509@asahi-net.email.ne.jp> Date: Thu, 14 Feb 2002 02:51:37 +0900 From: Osamu Ninagi User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: ja MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: About Redo Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Archive-Number: 200202/158 X-Sequence-Number: 3315 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,