Oracle 视图 V$PARAMETER 官方解释,作用,如何使用详细说明
本站中文解释
Oracle 视图 V$PARAMETER 是一个内部系统视图,它提供了一个容易访问 Oracle 使用的全部参数/变量配置信息。它将Oracle参数分成3类:
1. 全局参数:这些参数可以影响整个数据库,应用程序可以访问V$PARAMETER视图来查看或使用这些参数来调整其行为。
2. SESSION参数:这些参数是为当前SESSION准备的,它们可以被变更不会影响其他SESSION。
3. 实例参数:这些参数会影响当前实例,应用程序也可以查看这些参数并根据它们定义的最大值来调整服务端的行为。
使用V$PARAMETER视图可以提供很多实用的信息,比如,对内存大小,共享内存分配,锁定和其他内部参数,这些参数的取值范围都来自V$PARAMETER的内容。它也是一种很好的性能分析工具,它可以用来帮助我们查看Oracle参数的状态,帮助我们分析出可能的性能瓶颈。
官方英文解释
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 |
|
| Parameter value in a user-friendly format. For example, if the |
|
| The default value for this parameter. This is the value of the parameter if a value is not explicitly specified for the parameter. |
|
| Indicates whether the parameter is set to the default value ( The database sets the value of the |
|
| Indicates whether the parameter can be changed with |
|
| Indicates whether the parameter can be changed with
|
|
| Indicates whether the parameter can be modified inside a PDB ( |
|
| For parameters that 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) |
|
| Indicates whether the parameter has been deprecated ( |
|
| Indicates whether the parameter is a basic parameter ( |
|
| Description of the parameter |
|
| Comments associated with the most recent update |
|
| Hash value for the parameter name |
|
| The ID of the container to which the data pertains. Possible values include:
|
Examples
The following query returns the default value for the ALLOW_GLOBAL_DBLINKS
initialization parameter:
SQL> SELECT name, default_value FROM v$parameter 2 WHERE name = 'allow_global_dblinks';NAME-----------------------------------------------------------DEFAULT_VALUE----------------------------------------------------------- allow_global_dblinksFALSESQL>
The following query shows that the ALLOW_GLOBAL_DBLINKS
initialization parameter is not modifiable in a PDB:
SQL> SELECT name, ispdb_modifiable FROM v$parameter 2 WHERE name = 'allow_global_dblinks';NAME-----------------------------------------------------------ISPDB-----allow_global_dblinksFALSESQL>
See Also:
“V$SYSTEM_PARAMETER”
编辑:一起学习网
标签:参数,视图,应用程序,实例,是一个