Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 
 

Cloning a large RAC database

Oracle Tips by Steve Karam

See related notes: Fast cloning of Oracle databases

Question:  We have a specific need to clone a RAC database that is in archivelog mode and is up and running and is about 2 terabytes. We?ve been able to clone the smaller databases in archivelog mode with little impact on the database being cloned and would like to use this option for the multi terabyte RAC clusters database. How do you clone a large multi terabyte RAC database?

Answer:  Oracle's Grid Control uses the RMAN DUPLICATE feature in order to do its RAC cloning.  This RMAN feature uses a database backup as the basis for the cloning procedure.  The backup is transferred and restored on another server and put into action.

Unfortunately, the only real way to customize a large RAC clone with RMAN this is to allocate more channels.  You can run the DUPLICATE command on your own in RMAN, without using RAC Grid Control.  When you do so, just specify multiple AUXILIARY channels of device type DISK.  The more you specify, the faster your duplicate will take place.  You can find a better description of RMAN terminology (including how channels work) here.

You may be able to allocate more AUXILIARY channels in RAC Grid Control as well, but I'm somewhat sure you cannot.  I don't have a Grid Control server to look at at the moment, but if you see options to allocate more channels when cloning that's what you want in order to speed up the cloning process.

With a multi terabyte RAC cluster database, you may want to consider a combination of RMAN or Transportable Tablespaces and some sort of hardware cloning/snapshot if possible.  If you are using NetApp or EMC for data storage, there may be snapshot capabilities you can take advantage of in order to clone the datafiles quickly.

If you have no option to use a snapshot technology, another approach to RAC cloning is to mount the target system's drives locally on the primary system.  This way you can use RMAN to backup the datafiles as datafile copies straight to the target disk instead of having the files go over the network (like the DUPLICATE command does).  Once you're done with the RAC database clone, dismount the target's disks from the primary and mount them to the target server.

Transportable Tablespaces are also well liked for large databases, but they cause tablespaces to be in READ ONLY mode while copying...meaning you will not have 100% uptime on the target.
 
If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational