Books for professionals By professionals
®
RMAN Recipes for Oracle Database 11g:
A Problem-Solution Approach
Dear Reader,
RMAN is the tool of choice for Oracle database backup and recovery. RMAN
contains core features that aren’t available with other backup and recovery
solutions. Furthermore, Oracle continues to integrate RMAN with other products
such as Enterprise Manager, RAC, ASM, and Data Guard. If you are a DBA in an
Oracle shop, then it’s vital that you know how to use RMAN effectively. Your
job depends on it.
This recipe book provides you with focused solutions for the gamut of RMAN
backup and recovery tasks. We know from hard experience that sometimes all
you need is an easy-to-find, clear example showing how a feature works. This is
especially true when you have a critical issue that is causing database downtime.
In those situations, people expect you to earn your keep and quickly solve the
problem. Failure is not an option.
This book is unique in that it contains answers for almost any RMAN backup
and recovery problem that you’re likely to encounter. We tackle all scenarios,
from simple to complex. Each recipe title is an indexed entry to a particular
problem. In the recipe you’ll find the solution and a detailed explanation of
how it works. You won’t be shown merely how to parrot RMAN commands. We
explain why features work like they do.
If your company uses Oracle technology, then RMAN should be a key piece
of your data protection strategy. As a DBA, you’re the one responsible for making
it work. We hope that you’ll use this book to fully maximize RMAN to protect,
secure, and ensure the availability of your company’s databases.
Sincerely,
Darl Kuhn, Sam Alapati, Arup Nanda
US $59.99
Shelve in
Databases/Oracle
User level:
Beginner–Intermediate
Kuhn,
Alapati,
Nanda
Oracle RMAN Recipes
The eXperT’s Voice
®
in oracle
RMAN Recipes
for Oracle Database 11g
A Problem-Solution Approach
Darl Kuhn, Sam Alapati, and Arup Nanda
Companion
eBook Available
THE APRESS ROADMAP
Expert Oracle
Database Architecture
RMAN Recipes for
Oracle Database 11g
Expert Oracle Database
10g Administration
Practical
RMAN for the
Busy DBA
Practical
RMAN for the
Busy DBA
An example-based approach to backing
up and recovering your Oracle database.
this print for content only—size & color not accurate spine = 1.3237" 704 page count
cyan
MaGenTa
yelloW
Black
panTone 123 c
Darl Kuhn, coauthor of
Oracle RMAN
Pocket Reference
ISBN-13: 978-1-59059-851-1
ISBN-10: 1-59059-851-2
9 781590 598511
5 5 9 9 9
www.apress.com
SOURCE CODE ONLINE
Companion eBook
See last page for details
on $10 eBook version
Sam Alapati, author of
Expert Oracle Database
10g Administration
Arup Nanda, author of
Oracle 11g New Features
Series on Oracle
Technology Network
[...]... books for Apress about Oracle9 i Database and Oracle 10g Database administration Sam also wrote two Oracle certification books for Oracle Press Sam lives in the town of Flower Mound near Dallas, Texas, with his wife, Valerie; daughter, Nina; and sons, Shannon and Nicholas ■ARUP NANDA has been an Oracle DBA since 1993, when the world was slowly turning its attention to a big force to reckon with Oracle. .. production Oracle database running Oracle 6 Since then, he has never been out of the Oracle DBA career path—weaving several interesting situations from modeling to performance tuning to backup/recovery and beyond, with lots of gray hairs to document each ORA-600 He has written articles for publications such as Oracle Magazine and for Oracle Tech Net, he has presented at conferences such as Oracle World... that information stored in corporate databases is safe and available This is what makes a database administrator valuable Oracle is a leading vendor of database technology Many companies use Oracle databases to store mission-critical data Recovery Manager (RMAN) is Oracle s flagship database backup and recovery solution A DBA’s job security depends on being able to back up and safely recover databases... to Oracle Database 10g We specifically mention whenever we’re discussing a feature not available in Oracle Database 10g Types of Database Failures Since database backups are made to protect against a database failure, let’s quickly review the types of database failures that can occur A database can fail, either entirely or partially, because of various reasons You can recover from some types of database. .. gamut of RMAN backup and recovery subject matter Major topics included are as follows: • Backing up your database • Performing complete and incomplete recovery • Using flashback database technology • Implementing a media management layer • Troubleshooting and tuning RMAN • Differences between Unix and Windows environments • Using Enterprise Manager with RMAN • Using new RMAN features in Oracle Database. .. Installing EMC NetWorker Module for Oracle 572 18-19 Backing Up Using the EMC NetWorker Module for Oracle 574 18-20 Restoring Using the EMC NetWorker Module for Oracle 577 18-21 Uninstalling the EMC NetWorker Module for Oracle 578 18-22 Verifying the MML Installation 579 ■ CHAPTER 19 Performing Backup and Recovery with... ■SAM ALAPATI manages Oracle databases for the Boy Scouts of America at its National Office in Los Colinas, Texas, where he performs both DBA tasks as well as some HP Unix system administration work Before this, Sam worked for Sabre in Dallas and Lewco Securities in New Jersey Prior to that, Sam worked at Lehman Brothers and ABC in New York City as a senior principal consultant for Oracle Corporation... topics in this chapter before turning to a detailed discussion of RMAN backup and recovery techniques starting in Chapter 2: • Types of database failures • Oracle backup and recovery concepts • Backup types • Recovery types • An introduction to RMAN • Backup and recovery best practices We use the Oracle Database 11g release throughout this book, thus providing you with cutting-edge RMAN backup and recovery... whether you want to implement an RMAN feature that is new in Oracle Database 11g, this book allows you to focus on a topic and its corresponding solution Audience This book is for any DBA who quickly wants to find accurate solutions to their RMAN backup and recovery operations Any database administrator from rookie to expert can leverage the recipes in this book to implement RMAN s features and resolve... us back to database administrators…I hope! What sets a DBA apart from an ambitious programmer or a developer doing what needs to be done to move forward? It is the ability to prepare for trouble and recover from it Database recovery in the event of failure or mishap is the most vital skill in a DBA’s toolkit The Oracle RDBMS has been around now for about 30 years The internal mechanisms for backup . Books for professionals By professionals
®
RMAN Recipes for Oracle Database 11g:
A Problem-Solution Approach
Dear Reader,
RMAN is the tool of choice for Oracle.
Databases /Oracle
User level:
Beginner–Intermediate
Kuhn,
Alapati,
Nanda
Oracle RMAN Recipes
The eXperT’s Voice
®
in oracle
RMAN Recipes
for Oracle Database
Ngày đăng: 05/03/2014, 13:21
Xem thêm: RMAN Recipes for Oracle Database 11g:A Problem-Solution Approach docx, RMAN Recipes for Oracle Database 11g:A Problem-Solution Approach docx, 2-1. Connecting to Your Database, 2-2. Starting and Stopping Your Database, 2-7. Restoring and Recovering Your Database, 3-2. Writing Regular RMAN Backups to the FRA, 3-3. Freeing FRA Space in an Emergency, 3-4. Checking Space Usage in the FRA, 3-5. Expanding or Shrinking the FRA, 3-7. Using the Same FRA for Two Databases with the Same Name, 3-8. Placing a Control File in the FRA, 3-9. Placing Online Redo Log Files in FRA, 3-13. Reinstating a Damaged Datafile from an Image Copy, 3-14. Switching Back from an Image Copy, 3-16. Sizing the Flash Recovery Area, 4-7. Executing Operating System Commands from Within RMAN, 5-1. Showing RMAN Configuration Settings, 5-12. Skipping Previously Backed Up Files, 5-14. Generating Filenames for Image Copies, 5-22. Configuring the Maximum Size of Backup Sets, 6-1. Creating the Recovery Catalog, 6-4. Connecting to the Catalog from the RMAN Prompt, 6-9. Dropping the Recovery Catalog, 6-12. Creating a High-Availability Recovery Catalog, 6-15. Using a Release 11., 7-3. Backing Up the Server Parameter File, 7-7. Backing Up Archived Redo Logs, 7-9. Backing Up Flash Recovery Files, 7-17. Skipping Read-Only, Offline, or Inaccessible Files, 7-21. Making Faster Backups of Large Files, 7-26. Restarting Backups After a Crash, 8-3. Finding Datafiles Affected by Unrecoverable Operations, 8-5. Displaying Information About Database Files, 8-12. Synchronizing the Repository with the Actual Backups, 8-19.Validating Datafiles, Backup Sets, and Data Blocks, 9-1. Developing a Unix Shell Script for RMAN, 9-3. Developing a Windows Batch File to Run RMAN, 9-4. Scheduling a Script in Windows via the GUI, 9-6. Scheduling in Windows from the Command Line, 9-10. Commenting on Stored Scripts, 9-17. Passing Parameters to Stored Scripts, 9-18. Creating a Parameterized Command File Script, 10-3. Determining the Database Identifier, 10-4. Restoring Control File with No Flash Recovery Area or Recovery Catalog, 10-7. Re-creating the Control File, 11-1. Determining How to Restore and Recover, 11-2. Previewing Backups Needed for Restore, 11-8. Restoring Datafiles to Nondefault Locations, 11-13. Restoring from an Older Backup, 11-20. Restoring from Uncataloged Backup Pieces in Oracle9, 12-3. Performing Log Sequence–Based Recovery, 12-5. Using LogMiner to Find an SCN, 12-9. Recovering to a Previous Incarnation, 12-10. Performing Tablespace Point-in-Time Recovery, 12-11. Recovering a Subset of Datafiles, 13-2. Enabling Flashback on a Database, 13-4. Flashing Back a Database from RMAN, 13-5. Flashing Back a Database from SQL, 13-17. Restoring Dependent Objects of an Undropped Table, 13-21. Flashing Back a Specific Table, 14-1. Determining How to Restore, 14-2. Restoring After Losing One Member of the Multiplexed Group, 14-3. Recovering After Loss of All Members of the INACTIVE Redo Log Group, 14-5. Recovering After Loss of All Members of the CURRENT Redo Log Group, 15-1. Renaming Files in a Duplicate Database, 15-2. Creating a Duplicate Database on the Same Host, 15-3. Duplicating a Database Without Any RMAN Backups, 15-4. Creating a Duplicate Database on a Remote Host with the Same File Structure, 15-6. Creating a Standby Database on a New Host, 15-11. Transporting Tablespaces on the Same OS Platform, 15-12. Transporting Tablespaces Across Different Operating System Platforms, 15-13. Transporting an Entire Database to a Different Platform, 15-14. Transporting a Database by Converting Datafiles on the Target Platform, 16-3. Monitoring RMAN Job Progress, 16-7. Setting Large Pool Memory Size, 17-4. Dealing with the RMAN-06059 Error, 17-6. Diagnosing NLS Character Set Issues, 17-16. Managing Files in an ASM Environment, 18-15. Backing Up Using NetBackup, 18-19. Backing Up Using the EMC NetWorker Module for Oracle, 18-21. Uninstalling the EMC NetWorker Module for Oracle, 19-1. Getting Started with RMAN and Enterprise Manager, 19-2. Setting Up a Credentialed OS User, 19-11. Running Custom RMAN Scripts, 20-4. Using the Data Recovery Advisor Through Enterprise Manager, 21-10. Transporting an Entire Database to/from Windows