B.3 How To Monitor Rman Wait States; B.4 How To Monitor Rman Channels Current Speed - HP Data Protector Manual

Hp data protector and oracle 10g rac configuration best practices
Hide thumbs Also See for Data Protector:
Table of Contents

Advertisement

B.3 How to monitor RMAN wait states

COLUMN EVENT FORMAT a20
COLUMN SECONDS_IN_WAIT FORMAT 999
COLUMN STATE FORMAT a20
COLUMN CLIENT_INFO FORMAT a30
SELECT p.SPID, sw.EVENT, s.SECONDS_IN_WAIT AS SEC_WAIT,
sw.STATE, s.CLIENT_INFO
FROM V$SESSION_WAIT sw, V$SESSION s, V$PROCESS p
WHERE sw.EVENT LIKE '%sbt%'
AND s.SID=sw.SID
AND s.PADDR=p.ADDR
;
SQL> @RMAN_MML_monitor.sql
SPID
EVENT
------------ -------------------- ---------- -------------------- ------------------------------
4795
Backup: sbtwrite2
4793
Backup: sbtwrite2

B.4 How to monitor RMAN channels current speed

In the output below, we can see two RMAN channels running on one instance, each over 70MB/s. In
this view, it can also be verified which the current MAXOPENFILES setting is (the value maxopenfiles
is only present when type is AGGREGATE)
col type format a10;
select TYPE,maxopenfiles,ELAPSED_TIME,EFFECTIVE_BYTES_PER_SECOND from v$backup_async_io where type =
'AGGREGATE' order by open_time, close_time
/
SQL> @backup_aggregate_speed
TYPE
MAXOPENFILES ELAPSED_TIME EFFECTIVE_BYTES_PER_SECOND
---------- ------------ ------------ --------------------------
AGGREGATE
1
AGGREGATE
1
SEC_WAIT STATE
3 WAITED SHORT TIME
3 WAITING
8500
77829012
8600
70010737
CLIENT_INFO
rman channel=dev_1
rman channel=dev_0
30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents