oracle產生AWR報告,oracle產生awr

來源:互聯網
上載者:User

oracle產生AWR報告,oracle產生awr

 原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/43971547

實驗環境:

作業系統:win7 旗艦版 64bit

資料庫:oracle 11G R2 64bit

 

第1步:登陸sqlplus

C:\Users\Administrator>sqlplus / as sysdba

 

第2步:跑指令碼

SQL> @D:\soft\oracle\product\11.2.0\dbhome_1\RDBMS\ADMIN\awrrpt.sql

第3步:設定報告採集條件

設定產生幾天前的記錄,如果設定1,則從今天00:00開始,如果設定為2,則從昨天00:00開始,預設值為7,下面使用預設值,斷行符號到下一步。

設定快照的起始id,如下:

特別說明,對於AWR的命名可以自行命名,如下採用預設值,直接點擊斷行符號。

如,AWR報告產生成功。

到指定路徑下(一般產生的報告會預設儲存在系統使用者目錄下)找到AWR報告即可查看了。

 

至此,關於產生AWR報告介紹完畢(LINUX下方法相同)。

 

 原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/43971547

相關文章

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.