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

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 TO'string'

 

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=stringch=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.

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值