客户环境SumOS操作系统,数据库版本11.2.0.3,rac两节点: 在节点2,执行awr报告,输出报错,有时候可以成功,有时候失败. 报错现象 SQL>@?/rdbms/admin/awrrpt.sql ORA-: PL/SQL: numeric or value error: character string buffer too small ORA-: at ORA-: at line MOS搜搜 Bug : ORA- OCCURS WHEN TRYING TO GENERATE HTM…
oracle网络配置 三个配置文件 listener.ora.sqlnet.ora.tnsnames.ora ,都是放在$ORACLE_HOME/network/admin目录下. 英文说明: The sqlnet.ora is an optional file expressing more parameters about the connection (eg: the trace level for debugging, the types of authentication you wo…
1.Overview of the Automatic Workload Repository The Automatic Workload Repository (AWR) collects, processes, and maintains performance statistics for problem detection and self-tuning purposes. This data is both in memory and stored in the database.…
--自动生成AWR报告 -------------------2013/09/23 脚本代码: #!/bin/bash AWR_FORMAT=html NUM_DAYS=1 MAX_SNAP_ID=`sqlplus -S / as sysdba << EOF set heading off trimspool on feedback off SELECT trim(max(SNAP_ID)) FROM DBA_HIST_SNAPSHOT; EOF` MIN_SNAP_ID=…