V$PARAMETER和V$PARAMETER2, V$SYSTEM_PARAMETER和V$SYSTEM_PARAMETER2

前两天,看到有人讨论这几个视图的区别,也查看了一下。除了值不同,还有一个特点。XXX2里面,control_files是分开的,一个文件一行,而XXX里面,就一行,几个文件拼接在一起。

 

在V$PARAMETER, V$SYSTEM_PARAMETER中:

NAME                TYPE VALUE
------------- ---------- --------------------------------------------------------------------------------
control_files          2 /u01/app/oracle/oradata/xxxx/control01.ctl
control_files          2 /u01/app/oracle/oradata/xxxx/control02.ctl
control_files          2 /u01/app/oracle/oradata/xxxx/control03.ctl

 

在V$PARAMETER2, V$SYSTEM_PARAMETER2中:

NAME                TYPE VALUE
------------- ---------- --------------------------------------------------------------------------------
control_files          2 /u01/app/oracle/oradata/xxxx/control01.ctl, /u01/app/oracle/oradata/xxxx/contr

再看看定义:

V$PARAMETER displays information about the initialization parameters that are currently in effect for the session. A new session inherits parameter values from the instance-wide values displayed by the V$SYSTEM_PARAMETER view.

 

V$PARAMETER2 displays information about the initialization parameters that are currently in effect for the session, with each list parameter value appearing as a row in the view. A new session inherits parameter values from the instance-wide values displayed in the V$SYSTEM_PARAMETER2 view.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值