码迷,mamicode.com
首页 > 数据库 > 详细

SQL Tuning Health-Check Script (SQLHC) (文档 ID 1366133.1)

时间:2019-12-26 17:57:37      阅读:108      评论:0      收藏:0      [点我收藏+]

标签:amp   views   ram   processor   ict   folder   oracl   pac   kmp   

  1. Login to the database server and set the environment used by the Database Instance
  2. Download the "sqlhc.zip" archive file and extract the contents to a suitable directory/folder
  3. Connect into SQL*Plus as SYS, a DBA account, or a user with access to Data Dictionary views and simply execute the "sqlhc.sql" script. It will request to enter two parameters:

    1. Oracle Pack License (Tuning, Diagnostics or None) [T|D|N] (required)
      If site has both Tuning and Diagnostics licenses then specify T (Oracle Tuning pack includes Oracle Diagnostics)

    2. A valid SQL_ID for the SQL to be analyzed.  

For Example:

# sqlplus / as sysdba
SQL> START sqlhc.sql T djkbyr8vkc64h

SQL Tuning Health-Check Script (SQLHC) (文档 ID 1366133.1)

标签:amp   views   ram   processor   ict   folder   oracl   pac   kmp   

原文地址:https://www.cnblogs.com/oracle-ziyuhou/p/12103251.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!