Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> ZFS snapshots

ZFS snapshots

From: Donahue, Adam <Adam.Donahue_at_kbcfp.com>
Date: Tue, 12 Dec 2006 09:18:08 -0500
Message-ID: <248A58C2AB63304C82F0706DE62FB345015AA299@nyc.kbcfp.com>


Folks,

Sanity check question for those familiar with ZFS.

Is there any reason, assuming all datafiles were on a single ZFS filesystem (which is the level of consistent snapshot granularity), that something like the following wouldn't work to copy a database (and refresh on a regular basis) -

	zfs snapshot data_at_n
	zfs snapshot log_at_n
	zfs send -i data_at_n-1 data_at_tag | rsh target zfs receive data
	zfs send -i log_at_n-1 data_at_tag | rsh target zfs receive log
	zfs clone data_at_n data-qa
	zfs clone log_at_n log-qa 

Given the granularity of writes to the redo logs, I'm trying to think of how corruption might be introduced here, if it could. From what I see above, though, it would be more-or-less like a straight-forward database crash - which would on the target side would be recovered automatically during instance startup.

Adam

-- 
This message may contain confidential, proprietary, or legally privileged information. No confidentiality or privilege is waived by any transmission to an unintended recipient. If you are not an intended recipient, please notify the sender and delete this message immediately. Any views expressed in this message are those of the sender, not those of any entity within the KBC Financial Products group of companies (together referred to as "KBC FP"). 

This message does not create any obligation, contractual or otherwise, on the part of KBC FP. It is not an offer (or solicitation of an offer) of, or a recommendation to buy or sell, any financial product. Any prices or other values included in this message are indicative only, and do not necessarily represent current market prices, prices at which KBC FP would enter into a transaction, or prices at which similar transactions may be carried on KBC FP's own books. The information contained in this message is provided "as is", without representations or warranties, express or implied, of any kind. Past performance is not indicative of future returns.


--
http://www.freelists.org/webpage/oracle-l
Received on Tue Dec 12 2006 - 08:18:08 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US