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

  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

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

时间: 2024-10-12 22:38:42

SQL Tuning Health-Check Script (SQLHC) (文档 ID 1366133.1)的相关文章

Procwatcher: Script to Monitor and Examine Oracle DB and Clusterware Processes (文档 ID 459694.1)

Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.2 to 12.1.0.1 [Release 10.2 to 12.1] Linux x86 HP-UX PA-RISC (64-bit) IBM AIX on POWER Systems (64-bit) Oracle Solaris on SPARC (64-bit) HP-UX Itanium Linux x86-64 Oracle Server Enterp

(转)SQL Server 2012 手动安装帮助文档+排错

逆天SQL Server 2012装的不要不要的,最后发现...竟然没帮助文档...汗啊!原来它跟vs一样要自己装帮助文档... 好吧,官网一下载,妹的...报错...然后就让我们还原这个安装过程以及逆天是怎么排错的吧...1.去官网上下载离线包(http://www.microsoft.com/zh-cn/download/details.aspx?id=347) 2.解压离线包--Unzip 3.打开SQL Server 2012 选择管理帮助设置4.选择磁盘安装内容  5.选择刚才的解压路

Troubleshooting 'library cache: mutex X' waits. (文档 ID 1357946.1)

In this Document   Purpose   Troubleshooting Steps   What is a 'library cache: mutex X' wait?   What causes 'library cache: mutex X' wait?   How to diagnose the cause.   How to Examine the Diagnostics.   Potential Solutions   References APPLIES TO: O

How to Analyze Problems Related to Internal Errors (ORA-600) and Core Dumps (ORA-7445) using My Oracle Support (文档 ID 260459.1)

Oracle Database - Enterprise Edition - Version 8.1.7.4 and later Information in this document applies to any platform. **Checked for relevance 06-Apr-2010 **Checked for relevance 17-Apr-2013 *** Checked for relevance on 16-Nov-2011 *** Purpose 1.1 Ab

TECH: Getting a Stack Trace from a CORE file on Unix (文档 ID 1812.1)

修改时间:2013-4-8类型:BULLETIN Introduction ~~~~~~~~~~~~ This short article aims to explain how to get a stack trace from a core dump produced by any of the Oracle products on Unix platforms. By following the steps below you can provide Oracle Support with

How to Send an Email Using UTL_SMTP with Authenticated Mail Server. (文档 ID 885522.1)

APPLIES TO: PL/SQL - Version 9.2.0.1 to 12.1.0.1 [Release 9.2 to 12.1]Information in this document applies to any platform.***Checked for relevance on 07-Apr-2014*** GOAL The UTL_SMTP package is designed for sending electronic mails (emails) over Sim

Linux OS Service 'ntpd' (文档 ID 551704.1)

Linux OS Service 'ntpd' (文档 ID 551704.1) APPLIES TO: Linux OS - Version Oracle Linux 4.4 to Oracle Linux 6.5 with Unbreakable Enterprise Kernel [3.8.13] [Release OL4U4 to OL6U5]Linux x86Linux x86-64Linux Kernel - Version: 4.4 to 6.5***Checked for rel

Rolling Cursor Invalidations with DBMS_STATS.AUTO_INVALIDATE (文档 ID 557661.1)

  Rolling Cursor Invalidations with DBMS_STATS.AUTO_INVALIDATE (文档 ID 557661.1) 转到底部 In this Document   Purpose   Scope   Details   Cursor Invalidations on Gathering Statistics prior to Oracle10g   Cursor Invalidations with Oracle10g and AUTO_INVALID

Customer Introduction to ORA-7445 Errors (文档 ID 211909.1)

In this Document   Purpose   Scope   Details   References Applies to: Oracle Database - Enterprise Edition - Version 7.0.16.0 to 11.2.0.2 [Release 7.0 to 11.2] Information in this document applies to any platform. Add ***Checked for relevance on 14-M