X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1E5E5D1B23C for ; Wed, 14 Jul 2004 22:48:14 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23083-06 for ; Thu, 15 Jul 2004 01:48:11 +0000 (GMT) Received: from tama5.ecl.ntt.co.jp (tama5.ecl.ntt.co.jp [129.60.39.102]) by svr1.postgresql.org (Postfix) with ESMTP id E1093D1B191 for ; Wed, 14 Jul 2004 22:48:03 -0300 (ADT) Received: from vcs3.rdh.ecl.ntt.co.jp (vcs3.rdh.ecl.ntt.co.jp [129.60.39.110]) by tama5.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id i6F1loY1026351; Thu, 15 Jul 2004 10:47:50 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (localhost [127.0.0.1]) by vcs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id i6F1lo02012409; Thu, 15 Jul 2004 10:47:50 +0900 (JST) Received: from mfs3.rdh.ecl.ntt.co.jp (localhost [127.0.0.1]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id i6F1ln3e018027; Thu, 15 Jul 2004 10:47:49 +0900 (JST) Received: from nttmail3.ecl.ntt.co.jp ([129.60.39.100]) by mfs3.rdh.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id i6F1lnas018024; Thu, 15 Jul 2004 10:47:49 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [129.60.53.14]) by nttmail3.ecl.ntt.co.jp (8.12.11/8.12.11) with ESMTP id i6F1lmBi028349; Thu, 15 Jul 2004 10:47:48 +0900 (JST) Received: from mailsv02.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.12.11/dmailsv-1.1c) with ESMTP id i6F1ll1Z023712; Thu, 15 Jul 2004 10:47:47 +0900 (JST) Received: from localhost by mailsv02.y.ecl.ntt.co.jp (8.12.11/Lab-1.2a) with ESMTP id i6F1llEw014819; Thu, 15 Jul 2004 10:47:47 +0900 (JST) Message-ID: <40F5E2A1.7080908@lab.ntt.co.jp> Date: Thu, 15 Jul 2004 10:49:21 +0900 From: SAKATA Tetsuo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv:1.4) Gecko/20030718 X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: Simon Riggs Cc: pgsql-hackers@postgresql.org Subject: Re: Point in Time Recovery References: <200407132242.i6DMgg612564@candle.pha.pa.us> <1089760416.17493.3327.camel@stromboli> <40F49AE9.2060805@familyhealth.com.au> <1089789682.17493.3890.camel@stromboli> In-Reply-To: <1089789682.17493.3890.camel@stromboli> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/787 X-Sequence-Number: 56348 Hi, folks. My colleages and I are planning to test PITR after the 7.5 beta release. Now we are desinging test items, but some specification are enough clear (to us). For example, we are not clear which resouce manager order to store log records. - some access method (like B-tree) require to log its date or not. - create/drop action of table space to be stored to the log or not. We'll be pleased if someone informs them. The test set we'll proceed has following items; - PITR can recover ordinary commited transaction's data. - tuple data themselves - index data associated with them - PITR can recover commited some special transaction's data. - DDL; create database, table, index and so on - maintenance commands (handling large amount of data); truncate, vacuum, reindex and so on. Items above are 'data aspects' of the test. Other aspects are as follows - Place of the archival log's drive; PITR can recover a database from archived log data - stored in the same drive as xlog. - stored in a different drive on the same machine in which the PostgreSQL runs. - stored in a different drive on a different machine. - Duration between a checkpoint and recovery; PITR can recover a database enough long after a checkpoint. - Time to Recover; - to end of the log. - to some specified time. - Type of failures; - system down --- kill the PostgreSQL process (as a simulation). - media lost --- delete database files (as a simulation). - These two case will be tested by a simulated situation first, and we would try some 'real' failure after. (real power down of the test machine to the first case, and 'plug off' the disk drive to the second one. these action would damage test machine, this is because we plan them after 'ordinary' test items.) The test set is under construction and we'll test the 7.5 beta for some weeks, and report the result of the test here. Sincerely yours. Tetsuo SAKATA. -- sakata.tetsuo _at_ lab.ntt.co.jp SAKATA, Tetsuo. Yokosuka JAPAN.