大家好,我是考100分的小小码 ,祝大家学习进步,加薪顺利呀。今天说一说SQL Tuning Health-Check Script (SQLHC) (文档 ID 1366133.1),希望您对编程的造诣更进一步.
- Login to the database server and set the environment used by the Database Instance
- Download the “sqlhc.zip” archive file and extract the contents to a suitable directory/folder
- 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:
- 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) - A valid SQL_ID for the SQL to be analyzed.
- Oracle Pack License (Tuning, Diagnostics or None) [T|D|N] (required)
For Example:
# sqlplus / as sysdba
SQL> START sqlhc.sql T djkbyr8vkc64h
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
转载请注明出处: https://daima100.com/10370.html