ITPub博客

首页 > Linux操作系统 > Linux操作系统 > monitoring_rman

monitoring_rman

原创 Linux操作系统 作者:steven_hua 时间:2008-05-16 14:52:58 0 删除 编辑


--check rman is or not connect rman target database
set linesize 132
col client_info format a45
select sid, spid, client_info
  from v$process p, v$session s
 where p.addr=s.paddr and
       client_info like '%rman%';

 

--monitoring_rman
set linesize 132
col opname format a30
SELECT SID, SERIAL#,OPNAME, CONTEXT, SOFAR, TOTALWORK,
       ROUND(SOFAR/TOTALWORK*100,2) "% COMPLETE",
       to_char(start_time,'yymmdd HH24:mi:ss') as startT,
       ELAPSED_SECONDS ELAPSED
FROM V$SESSION_LONGOPS
WHERE OPNAME LIKE 'RMAN%'
AND OPNAME NOT LIKE '%aggregate%'
AND TOTALWORK != 0
AND SOFAR <> TOTALWORK;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/807718/viewspace-269298/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: OEM_RMAN_BACKUP
下一篇: xtrabackup安装
请登录后发表评论 登录
全部评论

注册时间:2008-05-16

  • 博文量
    117
  • 访问量
    190322