码迷,mamicode.com
首页 > 其他好文 > 详细

OCP试题解析之053-61 RMAN set command id to

时间:2014-08-29 20:08:08      阅读:261      评论:0      收藏:0      [点我收藏+]

标签:des   style   color   io   ar   for   cti   sp   on   

61.You frequently have multiple RMAN sessions running, and you want to be able to easily identify each
job via the CLIENTJNFO column of the dynamic performance view V$SESSION. What RMAN command
can you run to set the value for this column?


A. set clientinfo to ‘RJB rman session‘;
B. set command id to ‘RJB rman session‘;
C. set channelid to ‘RJB rman session‘;
D. set session_name to ‘RJB rman session

原答案:C

正确答案:B

 

验证:

RMAN> set command id to ‘RJB rman session‘;

正在执行命令: SET COMMAND ID

SELECT t.SID,t.USERNAME, t.STATUS, t.MACHINE,t.CLIENT_INFO FROM v$session t ORDER BY client_info;

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

 SID     USERNAME            STATUS                           MACHINE                                    CLIENT_INFO
1 70           SYS                    INACTIVE                 WORKGROUP\IDYLAN                id=RJB rman session

 

【官方文档】

COMMAND ID TOstring

 

Enters the specified string into the V$SESSION.CLIENT_INFO column of all channels. Use this information to determine which Oracle server sessions correspond to which RMAN channels. The SET COMMAND ID command applies only to channels that are already allocated.

The V$SESSION.CLIENT_INFO column contains information for each RMAN server session. The data appears in one of the following formats:

  • id=string
  • id=string, ch=channel_id
The first form appears in the RMAN target database connection. The second form appears in all allocated channels. When the current job is complete, the V$SESSION.CLIENT_INFO column will be cleared.

 

 

OCP试题解析之053-61 RMAN set command id to

标签:des   style   color   io   ar   for   cti   sp   on   

原文地址:http://blog.csdn.net/indexman/article/details/38929479

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!