Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D5D069FC0BD for ; Fri, 22 Jun 2007 04:30:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 48287-01-4 for ; Fri, 22 Jun 2007 04:29:59 -0300 (ADT) X-Greylist: delayed 04:59:28.361478 by SQLgrey-1.7.4 Received: from serv1.oss.ntt.co.jp (serv1.oss.ntt.co.jp [222.151.198.98]) by postgresql.org (Postfix) with ESMTP id D571B9FBB76 for ; Fri, 22 Jun 2007 04:29:58 -0300 (ADT) Received: from [127.0.0.1] (unknown [172.17.1.114]) by serv1.oss.ntt.co.jp (Postfix) with ESMTP id 28E06104001; Fri, 22 Jun 2007 16:29:57 +0900 (JST) Message-ID: <467B7A89.3080300@oss.ntt.co.jp> Date: Fri, 22 Jun 2007 16:30:17 +0900 From: Toru SHIMOGAKI User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Steve Atkins CC: PostgreSQL Performance Subject: Re: PITR Backups References: <7E0807EE-B970-4869-A248-B838E42AD9EE@hi5.com> <9761.1182472005@sss.pgh.pa.us> <467B3459.9030808@oss.ntt.co.jp> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/510 X-Sequence-Number: 25543 Steve Atkins wrote: >> - When we take a PITR base backup with hardware level snapshot operation >> (not filesystem level) which a lot of storage vender provide, the >> backup data >> can be corrupted as Dan said. During recovery we can't even read it, >> especially if meta-data was corrupted. > > I can't see any explanation for how this could happen, other > than your hardware vendor is lying about snapshot ability. All of the hardware vendors I asked always said: "The hardware level snapshot has nothing to do with filesystem condition and of course with what data has been written from operating system chache to the hard disk platter. It just copies byte data on storage to the other volume. So, if any data is written during taking snapshot, we can't assurance data correctness *strictly* . In Oracle, no table data is written between BEGIN BACKUP and END BACKUP, and it is not a problem REDO is written..." I'd like to know the correct information if the explanation has any mistakes, or a good way to avoid the probrem. I think there are users who want to migrate Oracle to PostgreSQL but can't because of the problem as above. Best regards, -- Toru SHIMOGAKI NTT Open Source Software Center