OCP-1Z0-053-V12.02-345题

 

345.What view might you use to try to determine how long a particular backup will take?

A. V$SESSION_EVENT

B. V$SESSION

C. V$WAITS

D. V$WAITSTAT

E. V$SESSION_LONGOPS

Answer: E

 答案解析:

参考如下:

sys@TEST1107> SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK,

  2  ROUND(SOFAR/TOTALWORK*100,2) "%_COMPLETE"

  3  FROM V$SESSION_LONGOPS

  4  WHERE OPNAME LIKE 'RMAN%'

  5  AND OPNAME NOT LIKE '%aggregate%'

  6  AND TOTALWORK != 0

  7  AND SOFAR <> TOTALWORK;


       SID    SERIAL#    CONTEXT      SOFAR  TOTALWORK %_COMPLETE

---------- ---------- ---------- ---------- ---------- ----------

       189          7          1      31998      80640      39.68

       156         49          1      31870      92800      34.34


V$SESSION_LONGOPS displays the status of various operations that run for longer than 6 seconds (in absolute time). These operations currently include many backup and recovery functions, statistics gathering, and query execution, and more operations are added for every Oracle release.

To monitor query execution progress, you must be using the cost-based optimizer and you must:

  • Set the TIMED_STATISTICS or SQL_TRACE parameters to true

  • Gather statistics for your objects with the DBMS_STATS package



     
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值