`
longgangbai
  • 浏览: 7251365 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Oracle 初始化参数的管理

 
阅读更多

 orale中一个重要的视图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
NUM NUMBER Parameter number
NAME VARCHAR2(80) Name of the parameter
TYPE NUMBER Parameter type:
  • 1 - Boolean

  • 2 - String

  • 3 - Integer

  • 4 - Parameter file

  • 5 - Reserved

  • 6 - Big integer

VALUE VARCHAR2(4000) Parameter value for the session (if modified within the session); otherwise, the instance-wide parameter value
DISPLAY_VALUE VARCHAR2(4000) Parameter value in a user-friendly format. For example, if the VALUE column shows the value 262144 for a big integer parameter, then the DISPLAY_VALUE column will show the value 256K.
ISDEFAULT VARCHAR2(9) Indicates whether the parameter is set to the default value (TRUE) or the parameter value was specified in the parameter file (FALSE)
ISSES_MODIFIABLE VARCHAR2(5) Indicates whether the parameter can be changed with ALTER SESSION (TRUE) or not (FALSE)
ISSYS_MODIFIABLE VARCHAR2(9) Indicates whether the parameter can be changed with ALTER SYSTEM and when the change takes effect:
  • IMMEDIATE - Parameter can be changed with ALTER SYSTEM regardless of the type of parameter file used to start the instance. The change takes effect immediately.

  • DEFERRED - Parameter can be changed with ALTER SYSTEM regardless of the type of parameter file used to start the instance. The change takes effect in subsequent sessions.

  • FALSE - Parameter cannot be changed with ALTER SYSTEM unless a server parameter file was used to start the instance. The change takes effect in subsequent instances.

ISINSTANCE_MODIFIABLE VARCHAR2(5) For parameters that can be changed with ALTER SYSTEm, indicates whether the value of the parameter can be different for every instance (TRUE) or whether the parameter must have the same value for all Real Application Clusters instances (FALSE). If the ISSYS_MODIFIABLE column is FALSE, then this column is always FALSE.
ISMODIFIED VARCHAR2(10) Indicates whether the parameter has been modified after instance startup:
  • MODIFIED - Parameter has been modified with ALTER SESSION

  • SYSTEM_MOD - Parameter has been modified with ALTER SYSTEM (which causes all the currently logged in sessions' values to be modified)

  • FALSE - Parameter has not been modified after instance startup

ISADJUSTED VARCHAR2(5) 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)
ISDEPRECATED VARCHAR2(5) Indicates whether the parameter has been deprecated (TRUE) or not (FALSE)
ISBASIC VARCHAR2(5) Indicates whether the parameter is a basic parameter (TRUE) or not (FALSE)
DESCRIPTION VARCHAR2(255) Description of the parameter
UPDATE_COMMENT VARCHAR2(255) Comments associated with the most recent update
HASH NUMBER Hash value for the parameter name

 

 

Oracle 初始化参数的管理
查看修改的参数
select name
,      value
from   v$parameter
where  ismodified != 'FALSE'
/


查看过期不推荐使用的参数
select name
,      value
from   v$parameter
where  isdeprecated = 'TRUE'
/


查看非默认的参数
set pages 999 lines 100
col name format a30
col value format a50
select 	name
,	value
from	v$parameter
where	isdefault = 'FALSE'
and	value is not null
order	by name
/

以name=value形式显示参数信息
set pages 999 lines 100
select 	name || '=' || decode(type, 2, '''') || value 
	|| decode(type, 2, '''') parameter
from	v$parameter
where	isdefault = 'FALSE'
and	value is not null
order	by name
/

重置初始化参数(当使用不推荐过期参数,oracle报错的时候,可以使用这个语句重置)
alter system reset <parameter> scope=spfile sid='*'
/


 

分享到:
评论

相关推荐

    ORACLE数据库管理初始化参数.doc

    ORACLE数据库管理初始化参数.doc

    ORACLE数据库管理初始化参数.pdf

    。。。

    ORACLE数据库管理初始化参数.docx

    。。。

    Oracle达人修炼秘籍251-300

    Oracle达人修炼秘籍,第251-300页

    Oracle9i的数据库管理 课件

    第5章 Oracle9i的数据库管理 ...Oracle9i数据库包括初始化参数文件、数据文件、控制文件和重做日志文件等主要文件。 5.1.1 使用数据库配置助手(Database Configuration Assistant,DBCA)创建数据库

    关于Oracle数据库中密码安全管理总结

    在使用 Oracle Instance Manager 创建一... 有了密码文件后,用户就可以使用密码文件以 SYSOPER / SYSDBA 权限登录 Oracle 数据库实例了,注意初始化参数 REMOTE_LOGIN_PASSWORDFILE 应设置为 EXCLUSIVE 或 SHARED 。

    Oracle数据库管理员技术指南

    1.7.11 怎样列出和描述初始化参数 1.7.12 怎样列出无记载参数 1.8 回顾 第2章 管理数据存储、对象和容量 2.1 配置数据存储 2.1.1 管理可用空间碎片 2.1.2 聚集可用空间的技术 2.1.3 管理区的碎片 2.1.4 查找...

    oracle_asm_管理_中文.pdf

    oracle10g下asm管理中文教程,识别自动存储管理ASM的功能。为ASM和数据库实例设置初始化参数文件等,讲的比较详细。

    高性能动态SQL Oracle数据安全 Oracle 数据库的聚簇技术 等等

    影响Oracle系统性能初始化参数 9 高性能动态SQL 11 保持Oracle数据优良性能 12 提高Oracle数据库查询统计速度 14 Oracle中巧取指定记录 14 Oracle数据安全 15 Oracle字段上建立并使用索引 29 用Windows脚本宿主自动...

    构建最高可用Oracle数据库系统 Oracle 11gR2 RAC管理、维护与性能优化

    9.1.2 ASM初始化参数 9.1.3管理ASM实例 9.1.4 ASM实例访问认证 9.2管理ASM磁盘组 9.2.1 ASM磁盘组使用的原则 9.2.2磁盘Discovery机制 9.2.3加载、卸载磁盘组 9.2.4磁盘组属性 9.2.5创建磁盘组 9.2.6磁盘组...

    Oracle中自动共享内存管理特性深入分析

    它们的大小由 DBA 在初始化参数文件中指定。 这四个池(数据库块缓冲高速缓存、共享池、Java 池和大型池)几乎占据了 SGA 中所有的空间。(与其它区域相比,重做日志缓冲没有占据多少空间,对我们这里的讨论无关紧要...

    Oracle数据库维护培训

    创建和管理初始化参数文件 启动和关闭实例 监控和使用诊断文件 登录到 SQL*Plus环境 编辑SQL 命令 SQL*Plus 命令格式化并输出结果 结合脚本文件执行 Oracle 数据库逻辑备份使用工具 Oracle 数据库逻辑备份形式 ...

    ORACLE+DBA必备技能详解.pdf

    第一章:数据库管理员命令参考 第二章:数据库的创建和管理 第三章:回滚/撤销段.控制文件和重做日志 第四章:表空间 第五章:表 ...附录A:初始化参数 附录B:数据字典视图 附录C:Oracle sql语法

    ORACLE数据库巡检模板

    1. 检查介绍 ...4.5 初始化参数文件 4.6 CRS日志文件 4.7 RDBMS运行日志和跟踪文件 4.8 控制文件 4.9 Redo log 文件 4.10 归档Redo log 文件 4.11 数据文件 4.12 表空间 4.13 回滚段管理 .....

    oracle管理软件SI Object Browser9

    &gt; 还支持用户管理、数据库初始化参数的编辑、Session的跟踪、实绩统计的参照等DBA所必需的功能。还可以在GUI上调用Oracle Export/Import工具。 &gt; &gt;备注: &gt; &gt;和Oracle客户端连接的Oracle服务器的版本必须是Oracle...

    Oracle数据库学习指南

    25.哪些初始化参数最影响Oracle系统性能 26.你的SQL语句在什么情况下使用全表扫描? 27.如何对CLOB行字段执行全文检索 28.如何让你的SQL运行得更快 29.如何使‘CREATE TABLE AS SELECT’能支持ORDER BY 30...

    oracle10g课堂练习I(1)

    查看和修改初始化参数 4-18 数据库启动和关闭 4-19 启动 Oracle 数据库实例 4-20 启动 Oracle 数据库实例:NOMOUNT 4-21 启动 Oracle 数据库实例:MOUNT 4-22 启动 Oracle 数据库实例:OPEN 4-23 关闭 Oracle ...

    操作系统重装后oracle数据库的恢复

    oradim是oracle实例管理工具,具体参数说明,可以在命令行中直接输入oradim查看帮助提示。使用它能够创建、修改、删除,启动、停止本机上的oracle实例服务,有兴趣的,可以使用它实现一个单数据库多实例的案例。 c...

Global site tag (gtag.js) - Google Analytics