one command 一鍵收集 oracle 巡檢資訊(包含dbhc,awr reports)

來源:互聯網
上載者:User

標籤:io   for   2014   art   cti   html   ar   htm   

 

初步如下

 

SQL> @nb

------Oracle Database health Check STRAT
------Starting Collect Data Information!

------Part 1.DB Overview...
------Part 2.DB File Overview...
------Part 3.Perfermance Overview...
------Part 4.Security and Privilege Overview...
------Part 5.Objects Overview...
------Part 6.RAC Overview...
------Part 7.Backup Controlfile...
--------------start collect AWR reports

 

Enter value for trace_file_name:


------Oracle Database Health Check END
/home/oracle


-rw-r--r-- 1 oracle oinstall 242088 Jul 28 16:58 ./dbhc.lixora.2014-07-28/awr.lixora.html
-rw-r--r-- 1 oracle oinstall 280758 Jul 28 16:58 ./dbhc.lixora.2014-07-28/db_health_check_lixora.2014-07-281658.html


SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
[[email protected] ~]$ ls -trl

-rw-r--r-- 1 oracle oinstall    48803 Jul 28 16:58 nb.sql
drwxr-xr-x 2 oracle oinstall     4096 Jul 28 16:58 dbhc.lixora.2014-07-28

[[email protected] ~]$ cd dbhc.lixora.2014-07-28/
[[email protected] dbhc.lixora.2014-07-28]$ ls -trl
total 524
-rw-r--r-- 1 oracle oinstall 280758 Jul 28 16:58 db_health_check_lixora.2014-07-281658.html
-rw-r--r-- 1 oracle oinstall 242088 Jul 28 16:58 awr.lixora.html

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.