V$PARAMETER
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
Column | Datatype | Description |
|
| Parameter number |
|
| Name of the parameter |
|
| Parameter type:
|
|
| Parameter value for the session (if modified within the session); otherwise, the instance-wide parameter value |
|
| Indicates whether the parameter is set to the default value ( |
|
| Indicates whether the parameter can be changed with |
|
| Indicates whether the parameter can be changed with
|
|
| Indicates whether the parameter has been modified after instance startup:
|
|
| Indicates whether Oracle adjusted the input value to a more suitable value (for example, the parameter value should be prime, but the user input a non-prime number, so Oracle adjusted the value to the next prime number) |
|
| Description of the parameter |
|
| Comments associated with the most recent update |
V$PARAMETER2
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.
Presenting the list parameter values in this format enables you to quickly determine the values for a list parameter. For example, if a parameter value is a, b
, then the V$PARAMETER
view does not tell you if the parameter has two values (both a
and b
) or one value (a, b
). V$PARAMETER2
makes the distinction between the list parameter values clear.
Column | Datatype | Description |
|
| Parameter number |
|
| Name of the parameter |
|
| Parameter type:
|
|
| Parameter value for the session (if modified within the session); otherwise, the instance-wide parameter value |
|
| Indicates whether the parameter is set to the default value ( |
|
| Indicates whether the parameter can be changed with |
|
| Indicates whether the parameter can be changed with
|
|
| Indicates whether the parameter has been modified after instance startup:
|
|
| Indicates whether Oracle adjusted the input value to a more suitable value (for example, the parameter value should be prime, but the user input a non-prime number, so Oracle adjusted the value to the next prime number) |
|
| Description of the parameter |
|
| Position (ordinal number) of the parameter value. Useful only for parameters whose values are lists of strings. |
|
| Comments associated with the most recent update |
说明:
1,
V$PARAMETER
是当前session的初始化参数情况,而V$SYSTEM_PARAMETER则是当前实例范围内的默认的初始化参数。如果当前session内修改了相关的参数,那么V$PARAMETER和V$SYSTEM_PARAMETER中的相应参数值就会不同。V$PARAMETER中的ISMODIFIED字段就会变成MODIFIED(alter session)或者是SYSTEM_MOD(alter system)
2,
V$PARAMETER2
中的记录基本和V$PARAMETER相同,他们的区别主要在于对含有逗号的多个值的字符的参数的表达方式。举个例子,如果初始化参数中说明数据库有三个控制文件,那么在V$PARAMETER仅会存在一条关于control_files的记录,而在V$PARAMETER2中则会存在三条关于control_files的记录,每条记录标志都表示一个仅仅表示一条控制文件的地址,这三条记录通过
ORDINAL
来区分
。
3,
V$SYSTEM_PARAMETER
和V$SYSTEM_PARAMETER2之间的关系与V$PARAMETER2和V$PARAMETER相同
V$SPPARAMETER
V$SPPARAMETER
displays information about the contents of the server parameter file. If a server parameter file was not used to start the instance, then each row of the view will contain FALSE
in the ISSPECIFIED
column.
Column | Datatype | Description |
|
| SID for which the parameter is defined |
|
| Name of the parameter |
|
| Parameter value (null if a server parameter file was not used to start the instance) |
|
| Indicates whether the parameter was specified in the server parameter file ( |
|
| Position (ordinal number) of the parameter value ( |
|
| Comments associated with the most recent update (null if a server parameter file was not used to start the instance) |
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8394333/viewspace-987134/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8394333/viewspace-987134/