Oracle RMAN backup Optimization

Source: Internet
Author: User

Oracle RMAN backup is one of the oracle backup methods. The following describes the optimization of oracle RMAN backup and the backup of RMAN databases for your reference.

To back up data, follow these steps:
1. read data from the disk
2. process data blocks in memory
3. Write Data to disk or tape

The preceding read/write operations can be completed synchronously or asynchronously. In synchronous I/O operations, only one IO operation is allowed at a time, but in asynchronous I/O operations, multiple I/O operations are allowed at a time. Therefore, backup and recovery optimization is mainly focused on the following aspects:

1. Improve the synchronous or asynchronous I/O operation capability. On the Operating System Supporting asynchronous operations, you can set TAPE_AYSNCH_IO, DISK_ASYNCH_IO and BACKUP_TYPE_IO_SLAVES to support asynchronous operations and improve the write capability.
2. To improve the disk reading capability, you can set DISKRATIO after the backup command to ensure that data is read from multiple disks and continuous data streams are ensured.
3. Set the buffer zone and parameter value to set LARGE_POOL_SIZE so that the backup can use a continuous buffer pool. By setting DB_FIL_DIRECT_IO_COUNT, you can improve the utilization of the buffer zone. If you use tape backup, you can also set BACKUP_TYPE_IO_SLAVES to improve the write capability of the tape.
4. Use parallel backup to open up multiple channels for parallel backup and recovery

Back up RMAN Database

RMAN databases also need to be backed up, but they are small and do not change frequently. Therefore, after each RMAN backup, you can use the following script to back up the RMAN database.

 
 
  1. EXP pafile = exprman. SQL
  2. Exprman. SQL is
  3. USERID = RMAN/RMAN
  4. Buffer= 32768
  5. OWNER = RMAN
  6. FILE = RMAN. DMP
  7. ROWS = Y
  8. GRANTS = Y
  9. COMPRESS = Y
  10. CONSISTENT = Y

Oracle backup using RMAN

Oracle EXP/IMP backup Overview

Importance of Oracle Database Backup

How to Implement ORACLE backup

Oracle backup command to use instances

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.