Oracle Dataguard

Posted on 2014-04-08
Medium Priority
Last Modified: 2014-04-08
Hi guys

i'm planning to create a dataguard using Oracle my primary database size is 3T, so to move backup  information from my primary to my new standby; i'm planning to use 4T USB3 external disk, because by network will be slowly and painful.

What i'm not sure is if i have a time limit to restore my new standby and start recovering and applying archives.

If 14 hours after my full backup i restore my database on my new standby,  it will be able to perform the recovering and applying archives? will be a 14 hours of difference, i don't care if the process take a week to be sync but i 'm not sure if  standby will be able to do this with that difference

The Archives has a expiration ?  i mean expire after X time or depends of the volume of the information

Other option is after i recover the new standby i just create a backup of the missing sequence and that backup i can transfer by network since will be much smaller

Any suggestion will be helpful

Question by:Pepe2323
  • 2
  • 2
  • 2
  • +1
LVL 35

Accepted Solution

johnsone earned 1000 total points
ID: 39986921
There is no expiration of archive logs.  As you as you have all the logs from when the backup was created, you are good to go.

If you plan to use Oracle to ship logs, you can set that up before you do the backup as only the listener should be required on the remote side to receive the logs.  That way all the logs are in place when the data files get there.  You can just start the managed recovery and it will only use the ones it needs.
LVL 78

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 1000 total points
ID: 39986938
I agree with the above post about no time limits.

What I want to make sure you understand is that dataguard is set up as a disaster recovery situation.  If you keep all the archived redo logs on the primary server on an external disk and a major catastrophe happens, you might lose your ability to recover at the dataguard site.

You MUST have every archived redo log IN ORDER.  If you are missing a single one, you can only recover to the point in time right before the missing one starts.  You cannot skip one.

>>i'm planning to create a dataguard using Oracle

If this is a 'plan' and not a current installation, why 'plan' to do this on an unsupported version of the database?
LVL 23

Expert Comment

ID: 39987063
I concur regarding Oracle 10g, regretfully.  Your system is at unnecessary risk -- particularly if you need help restoring to a standby system. One small little detail you may wish to mention is whether you have set up a physical, or a logical, standby.

To the comments above, it's fairly common practice to replicate archive logs out to multiple systems -- so that the odds of a catastrophic gap are minimized.

One other side comment, the active data guard (licensed option) in 11g allows my site to maintain a hot standby two-node RAC, with logs applied upon receipt.  In effect, the COOP site can be live and primary within a few minutes.
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.


Author Comment

ID: 39987330
Hi Guys

 The Standby is located in other location, the reason i'm planning to move my first full backup of the primary, using an external usb DISK  to move the backup and then move that USB disk to my other location to restore the standby database.

But 3T of information is a lot and move the backup by network will be slow process.

The new standby have the purpose to sync info using the oracle 10 as standalone and when this info is synced then i'm planning to upgrade it to ORacle 11gr2  in rac

I'm moving my DB to other location and upgrade the Oracle Version.

But i was concern about the period of time that will be between the full backup and when disk arrive to the new location and the time it takes to restore it.

i hope i made me explain
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 39987382
As long as you have ALL the archived redo logs then time isn't a problem...  It can be years in between.  Just make sure you have ALL of the logs.
LVL 35

Expert Comment

ID: 39987408
I will second that.

As long as all the logs are there you are good.  If you have to restore them from a backup, that is fine.  I would be sure that no backups are recycled before you get everything set up.

Also, I would recommend doing the upgrade first and then setting up the standby.  In my opinion, you are reducing the level of complexity by doing the upgrades first.

Author Closing Comment

ID: 39987822
Thanks for your help.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question