AWR export/import/Generate Report

Source: Internet
Author: User
It is a relatively time-consuming task to analyze and generate an AWR report. Of course, it is not time-consuming to generate only one AWR report. However, we may need to analyze the system in detail.

It is a relatively time-consuming task to analyze and generate an AWR report. Of course, it is not time-consuming to generate only one AWR report. However, we may need to analyze the system in detail.

The customer's production system is always so important that you will not perform operations on their production machines for a long time. However, analyzing and generating AWR reports is a relatively time-consuming task ,, of course, it is not time-consuming to generate only one AWR report. However, to analyze the system in detail, we may need all the AWR data for a period of time, which should be selected based on the actual situation. In this case, we need to export and analyze the AWR data of the customer. This operation mainly involves three stages: Export, Import, and generate the AWR data. Each step is described in detail.

1. Export

2. Import
Copy the dump file generated above to a directory on the target machine, and then import it as follows.

3. Generate Reports
Generate a Report on the target machine

The entire process is simple, but there are several points to note:
1. You cannot export AWR data of the same database to yourself before importing it. This will cause the following error:
ERROR at line 1:
ORA-20105: unable to move AWR data to SYS
ORA-06512: at "SYS. DBMS_SWRF_INTERNAL", line 2950
ORA-20107: not allowed to move AWR data for local dbid
ORA-06512: at line 3
2. Try to use uppercase letters when entering values during import;
3. if you no longer need data, you can use the following stored procedure to delete it:
SQL> exec DBMS_SWRF_INTERNAL.UNREGISTER_DATABASE (bdid); -- replace dbid with the dbid to be deleted

This article permanently updates the link address:

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.