oracle 11.2 awr,oracle 11g database获取AWR报告
1、生成单实例AWR报告:
@$ORACLE_HOME/rdbms/admin/awrrpt.sql
[oracle@node1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Wed Apr 23
16:46:11 2014
Copyright (c) 1982, 2013, Oracle. All
rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 -
64bit Production
With
the Partitioning, Real Application Clusters, Automatic Storage
Management, OLAP,
Data
Mining and Real Application Testing options
SQL> @$ORACLE_HOME/rdbms/admin/awrrpt.sql
Current Instance
~~~~~~~~~~~~~~~~
DB Id
DB Name Inst Num Instance
----------- ------------ -------- ------------
1372205931 ORCL 1 orcl1
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text
report?
Enter 'html' for an HTML report, or 'text' for plain
text
Defaults to 'html'
Enter value for report_type:
Type
Specified: html
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id
Inst Num DB Name
Instance
Host
------------ -------- ------------ ------------
------------
1372205931 2 ORCL
orcl2 node2
*
1372205931 1 ORCL orcl1 node1
Using 1372205931 for database Id
Using 1 for
instance number
Specify the number of days of snapshots to choose
from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most
recent
(n)
days of snapshots being listed. Pressing
without
specifying a number lists all completed
snapshots.
Enter value for num_days:
Listing all Completed Snapshots
Snap
Instance DB Name
Snap Id Snap
Started Level
------------ ------------ --------- ------------------
-----
orcl1 ORCL1823 Apr 2014 14:28
1
1923 Apr 2014 15:00
1
2023 Apr 2014 16:00
1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for
begin_snap:18
Begin Snapshot Id specified: 18
Enter value for
end_snap:20
End
Snapshot Id specified: 20
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The
default report file name is awrrpt_1_18_20.html.
To use this name,
press to continue, otherwise enter an
alternative.
Enter value for
report_name:
...................
s="awrbg" scope="col">Receive Frame Errors
Dynamic Remastering Stats
No data
exists for this section of the report.
End
of Report
eth1:1
169.254.28.247
NO
0.00
0
0
0
0
0.00
0
0
0
0
Report written to awrrpt_1_18_20.html
SQL> ho
#################################################################################################
把awr报告FTP到本地
D:\>ftp 192.168.56.101
连接到192.168.56.101。
220
(vsFTPd 2.0.5)
用户(192.168.56.101:(none)): oracle
331
Please specify the password.
密码:
230
Login successful.
ftp> bin
200
Switching to Binary mode.
ftp> pwd
257
"/home/oracle"
ftp> ls
200
PORT command successful. Consider using PASV.
150
Here comes the directory listing.
awrrpt_1_18_20.html
database
scripts
scripts-linux.tar
226
Directory send OK.
ftp: 收到 62 字节,用时 0.00秒 15.50千字节/秒。
ftp> get awrrpt_1_18_20.html
200
PORT command successful. Consider using PASV.
150
Opening BINARY mode data connection for awrrpt_1_18_20.html (628457
bytes).
226
File send OK.
ftp: 收到 628457 字节,用时 0.01秒 48342.85千字节/秒。
ftp>
WORKLOAD
REPOSITORY report for
DB
Name
DB
Id
Instance
Inst
num
Startup Time
Release
RAC
ORCL
1372205931
orcl1
1
23-Apr-14
14:04
11.2.0.4.0
YES
Host
Name
Platform
CPUs
Cores
Sockets
Memory (GB)
node1
Linux x86
64-bit
1
1.47
Snap
Id
Snap
Time
Sessions
Cursors/Session
Instances
Begin
Snap:
18
23-Apr-14 14:28:14
37
1.1
2
End
Snap:
20
23-Apr-14 16:00:17
39
1.1
2
Elapsed:
92.05
(mins)
DB
Time:
0.04
(mins)
Report
Summary
Load Profile
Per
Second
Per
Transaction
Per
Exec
Per
Call
DB
Time(s):
0.0
0.2
0.00
0.00
DB
CPU(s):
0.0
0.1
0.00
0.00
Redo size
(bytes):
565.2
283,760.7
Logical read
(blocks):
11.9
5,989.3
Block
changes:
1.6
782.6
Physical read
(blocks):
0.2
78.6
Physical
write (blocks):
0.1
67.0
Read IO
requests:
0.1
44.4
Write IO
requests:
0.1
49.7
Read IO
(MB):
0.0
0.6
Write IO
(MB):
0.0
0.5
Global Cache
blocks received:
0.2
119.5
Global Cache
blocks served:
0.2
98.2
User
calls:
0.3
136.5
Parses
(SQL):
0.7
346.6
Hard parses
(SQL):
0.1
58.2
SQL Work Area
(MB):
0.0
5.2
Logons:
0.0
7.6
Executes
(SQL):
2.5
1,275.0
Rollbacks:
0.0
0.0
Transactions:
0.0
Instance Efficiency Percentages (Target
100%)
Buffer Nowait
%:
100.00
Redo NoWait
%:
100.00
Buffer Hit
%:
98.69
In-memory
Sort %:
100.00
Library Hit
%:
87.05
Soft Parse
%:
83.21
Execute to
Parse %:
72.82
Latch Hit
%:
100.00
Parse CPU to
Parse Elapsd %:
61.84
% Non-Parse
CPU:
-26.19
Top 10 Foreground Events by Total Wait Time
Event
Waits
Total
Wait Time (sec)
Wait
Avg(ms)
% DB
time
Wait
Class
DB
CPU
1.5
58.0
name-service
call wait
19
1.4
74
54.9
Other
IPC send
completion sync
143
.2
1
7.9
Other
row cache
lock
90
.1
1
2.6
Concurrency
PX Deq: Slave
Session Stats
44
.1
1
2.0
Other
library cache
lock
39
.1
1
2.0
Concurrency
library cache
pin
42
0
1
1.9
Concurrency
enq: PS -
contention
36
0
1
1.5
Other
SQL*Net
break/reset to client
1,108
0
0
1.5
Application
enq: IV -
contention
36
0
1
1.5
Other
oracle 11.2 awr,oracle 11g database获取AWR报告相关推荐
- oracle 11查询sid,oracle 11g 更改sid和dbname
分两个阶段描述,第一阶段改sid,第二阶段改dbname 下面描述详细步骤 首先要更改sid 1.登录数据库查看先前的sid,总共三步 [oracle@localhost ~]$ sqlplus &q ...
- redhat 7 oracle 11,redhat7 搭建oracle 11g RAC 问题与处理
01. RHEL7中缺少包compat-libstdc++-33 (可以在RHEL6中找到,建议安装) Installation of 12.1.0.2 Oracle Database Server/ ...
- ins32012 oracle安装,Oracle 11.2.0.4 RAC Database for Windows 2012安装DB时收到[INS-35423]错误...
这是同事遇到的问题,在这里做个标记,希望对大家有所帮助. 一.问题描述. 操作系统:Microsoft Windows x64 (64-bit) 2012 数据库版本:Oracle11g 11.2.0 ...
- oracle 11升级补丁,ORACLE 11g 升级补丁(Patch)
Oracle11g的补丁层出不穷.下面将其罗列,方便大家下载. 从 Oracle 官方网站下载需要使用 Metalink 帐号,下面的下载链接可以直接使用迅雷来下载,对于没 Metalink 帐号的用 ...
- Oracle 11.2 安装Oracle 11.1的HR schoma
下载后释放到$ORACLE_HOME/demo/schema/human_resources/ 目录下 SQL> @$ORACLE_HOME/demo/schema/human_resource ...
- oracle 11宕机,Oracle 11.2.0.4.0 RAC下DRM导致单节点宕机
DRM的bug太多,所以建议直接关闭. alert日志: Errors in file /oracle/app/oracle/diag/rdbms/gg/gg1/trace/gg1_lmon_6068 ...
- oracle aix 11.2.0.3,Oracle 11.2.0.3 Database for AIX bug导致ORA-04030的报错
根据我以往的经验,在AIX平台Oracle Database数据库较其他平台更容易报ORA-04030的错误,PGA的参数有时候设置小了反而不报错误.帮助客户将一个Oracle 11.2.0.3 Re ...
- toad for oracle 11 手册,toad for oracle 11
toad for oracle 11是针对oracle数据库开发的一款免费的数据库管理软件,具有自动执行sql优化.自动执行复杂数据库人物的功能,可以帮助DBA完成许多日常管理工作.可以大大减少开发. ...
- oracle crs 在哪里,oracle数据库crs
Oracle系列:Oracle RAC集群体系结构 一. Oracle集群体系结构 Oracle RAC,全称是Oracle Real Application Cluster,即真正的应用集群,是or ...
- 【Oracle 集群】ORACLE DATABASE 11G RAC 知识图文详细教程之集群概念介绍(一)
集群概念介绍(一)) 白宁超 2015年7月16日 概述:写下本文档的初衷和动力,来源于上篇的<oracle基本操作手册>.oracle基本操作手册是作者研一假期对oracle基础知识学习 ...
最新文章
- centos的ssh配置
- 2012-12-21
- 查看Python当前版本
- java面向对象:关键字 —(16)
- asp.net core自定义依赖注入容器,替换自带容器
- Bootstrap系列 -- 11. 基础表单
- php 图片系统,Linger
- 【重磅综述】长序列数据分析相关资源哪里找?一文读懂长序列测序数据分析的机遇与挑战!...
- STM32单片机实现DMA+ADC+UART功能
- SQL实战之查找所有员工的last_name和first_name以及对应部门编号dept_no
- Response.Cookie FF
- 1431.拥有最多糖果的孩z
- java speex转码_微信Speex转wav,Speex to wav
- 万能弹窗代码,能突破大部分弹窗拦截插件
- python工程师的职业规划_一名Python开发工程师的职业规划
- SQL Server 2005 版本介绍及所谓“企业管理器”问题
- 企业为何需要在内部推广Devops
- 阿里云实人认证有什么特点
- android touch事件无反应,android的touch事件分发响应机制
- 修改北斗AR地球仪激活验证
热门文章
- 残酷的生命,严峻的人生,短暂的美好
- java javascript 的编码
- 已经有了Thread为什么还要Runnable
- response.sendRedirect()和request.getRequestDispatcher().forward(request,reponse)的区别
- ImageView之android:tint= 属性方法作用详解
- 修改统计信息自动收集时间窗口
- 同步异步阻塞非阻塞杂记 1
- 智慧交通前瞻:如何解决城市发展“心病”?
- Aop 是面向切面编程,
- Office 365管理员指引 7 ——Lync 用户配置