Re: DataGuard Standby Database usage
Date: Sun, 1 Jun 2008 14:06:32 -0700 (PDT)
It won't help you on 10g, but this is exactly what the new snapshot
standby features in
>>11g are for.
Even in Oracle 10g, you can simulate 11g snapshot standby feature on a physical standby database. This is achieved by:
- Removing Physical Standby database from recovery mode
- mount data
- create a restore point
- open physical standby database in READ-WRITE mode
- once testing is complete, close database
- flashback database to restore point
- open your standby database and place your physical standby database back in recovery mode
I did this couple of times on our 10g databases, if you need step-by-step instructions then just drop a mail.
- On Fri, 5/30/08, Dan Norris <dannorris_at_dannorris.com> wrote: From: Dan Norris <dannorris_at_dannorris.com> Subject: Re: DataGuard Standby Database usage To: howard.latham_at_gmail.com Cc: joerg.jost_at_unitrade.com, Tom.Terrian.ctr_at_dla.mil, "ORACLE-L Freelists" <oracle-l_at_freelists.org> Date: Friday, May 30, 2008, 9:35 AM
It won't help you on 10g, but this is exactly what the new snapshot standby features in 11g are for. On 10g and before, the only effective (which is still pretty rare) approach I've seen is to use storage snapshots to take a (cold) snapshot of the standby database before activating it. When the testing is done, the activated standby is dumped and replaced with the snapshot copy made prior to activation.
YMMV, not all environments have storage snapshot capabilites. You can obviously make a backup of the standby prior to activation, but that requires disk space and time as well.
Howard Latham wrote:
We have the same problem our standby takes abour 12 hours to build and when opened for a test thats it - its not a standby any more
so sucessful test then destroy it to build another untested one. Flashback standby anyone?
2008/5/30 Joerg Jost <joerg.jost_at_unitrade.com>:
Freitag, den 30.05.2008, 06:51 -0400 schrieb Terrian, Thomas J Mr CTR
DLA J6DIB: > Oracle 10g, HPUX, Physical DataGuard, RMAN backups of Primary and
> What would be the best way to test our DataGuarded copy if we want
> start it up and applying changes to it? We don't want those
> come back to the primary.
> Can we start it up as a regular database but then when we are done
> our RMAN backup of it to restore it to the point were it was still
> standby database? Will the primary database have any problems with
> Anyone done anything like this before?
if we open a standby database for writing, we build afterwards a
complete new standby database. Using rman we can do it anytime, even
during working hours, so we don't try anything spezial.
-- http://www.freelists.org/webpage/oracle-l -- Howard A. Latham -- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Sun Jun 01 2008 - 16:06:32 CDT