Diagnose the cause of slow mongolerman backup

Source: Internet
Author: User
(I) First query the CPU and IO usage at the system level: top, iostat, sar... (ii) EXECDBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT (); (iii) rmanta

(I) First query the CPU and IO usage at the system level: top, iostat, sar... (ii) EXEC DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT (); (iii) rman ta

(I) First query the CPU and IO usage at the system level: top, iostat, sar...

(Ii) EXEC DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();

(Iii) rman target/debug trace =/tmp/rmandebug.txt log =/tmp/rman_log20130727.txt

Execute backup

(Iv) EXEC DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();

(V) query v $ backup_datafile

Set markup html on
Set echo on
Set pages 80
Set lines 180
Set NUMFORMAT 99999999999999999
Spool rman_bak20130727.html
Select file # fno, used_change_tracking bct, incremental_level incr,
Incremental_change #, checkpoint_change #, datafile_blocks blks,
Block_size, blocks_read, round (blocks_read/datafile_blocks) * 100,2) "% READ ",
Blocks, round (blocks/datafile_blocks) * 100,2) "% WRTN ",
To_char (comletion_time, 'yyyy-mm-dd hh24: mi: ss ')
From v $ backup_datafile
Order by file #, comletion_time;
Spool off
Set markup html off

Recommended reading:

Basic Oracle tutorial-copying a database through RMAN

Reference for RMAN backup policy formulation

RMAN backup learning notes

Oracle Database Backup encryption RMAN Encryption

,

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.