最新文章专题视频专题关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
志高空调压缩机不工作 新手使用PL/SQLDeveloper面临的问题 大金中央空调内机漏水 格力中央空调故障代码e1 新手进阶Python连接MySQL代码 新手进阶查看MySQL表结构命令 新手学堂Linux下Oracle的自动启动及停止 新手学堂MySQL数据库多表删除方法 新手知识选择正确的MySQL安装包 新手学堂最常用Oracle命令集锦 浏览器AdobeFlashPlayer插件去除沙箱(保护模式)特性增强稳定 山寨技术下的网站图片服务器(NGINX) 奥克斯空调压缩机不启动 tcl空调显示e6 空调e6怎么解决 澳柯玛空调压缩机不启动 美的空调怎么加氟 空调显示e6不制冷 志高空调压缩机不启动 志高空调怎么加氟 中央空调内机漏水 格力空调e6怎么办 格力空调故障代码e6是什么问题 格力空调故障代码e6代表什么故障 格力空调故障代码f0 惠康空调内机漏水 澳柯玛空调压缩机不工作 奥克斯空调压缩机不工作 格力空调故障代码e5怎么办 1匹空调耗电量 海尔空调压缩机不启动 海尔空调压缩机不工作 扬子空调内机漏水 海尔空调故障代码e7 美的空调压缩机不启动 海尔空调e6是什么故障代码 新科空调内机漏水 美的空调压缩机不工作 奥克斯空调故障代码f1怎么回事 长虹空调内机漏水
当前位置: 首页 - 科技 - 知识百科 - 正文

Oracle参数修改浅析

来源:懂视网 责编:小采 时间:2020-11-09 11:59:43
文档

Oracle参数修改浅析

Oracle参数修改浅析:Oracle参数修改浅析SCOPE = SPFILEThe change is applied in the server parameter file only. The effect is as follows:For dy Oracle参数修改浅析 SCOPE = SPFILEThe change is applied in the ser
推荐度:
导读Oracle参数修改浅析:Oracle参数修改浅析SCOPE = SPFILEThe change is applied in the server parameter file only. The effect is as follows:For dy Oracle参数修改浅析 SCOPE = SPFILEThe change is applied in the ser

Oracle参数修改浅析SCOPE = SPFILEThe change is applied in the server parameter file only. The effect is as follows:For dy

Oracle参数修改浅析

SCOPE = SPFILE
The change is applied in the server parameter file only. The effect is as follows:
For dynamic parameters, the change is effective at the next startup and is persistent.
For static parameters, the behavior. is the same as for dynamic parameters. This is the only SCOPE specification allowed for static parameters.
SCOPE = MEMORY
The change is applied in memory only. The effect is as follows:
For dynamic parameters, the effect is immediate, but it is not persistent because the server parameter file is not updated.
For static parameters, this specification is not allowed.
SCOPE = BOTH
The change is applied in both the server parameter file and memory. The effect is as follows:
For dynamic parameters, the effect is immediate and persistent.
For static parameters, this specification is not allowed.

反过来推理下:

启动和修改方式

动态参数

静态参数

SPFILE

启动

Scope=spfile

更新spfile

更新spfile

重启后永久生效

重启后永久生效

Scope=memory

更新内存

不允许

立即生效,重启后无效

Scope=both(默认)

更新内存和spfile

不允许

立即并永久生效

PFILE

启动

Scope=spfile

不允许

不允许

Scope=memory(默认)

更新内存

不允许

立即生效,,重启后无效

Scope=both

不允许

不允许

从以上可以看出,由于pfile只能手工修改,所以以pfile启动后,仅动态参数可以立即修改生效,但实例重启后无效;以spfile启动,静态参数可以修改重启后生效,动态参数可以以三种方式修改生效。

如何查看一个参数是动态还是静态的,可以通过v$parameter视图中的issys_modifiable获得:

此字段含义:

?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

从解释来看,immediate和deferred都属于动态参数,但deferred比较特殊,对当前已经连接会话不生效。False属于静态参数,只能重启后生效。

SQL> select issys_modifiable,count(*) from v$parameter group by issys_modifiable;

ISSYS_MOD COUNT(*)

--------- ----------

IMMEDIATE 145

FALSE 107

DEFERRED 7

linux

声明:本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。TEL:0731-84117792 E-MAIL:11247931@qq.com

文档

Oracle参数修改浅析

Oracle参数修改浅析:Oracle参数修改浅析SCOPE = SPFILEThe change is applied in the server parameter file only. The effect is as follows:For dy Oracle参数修改浅析 SCOPE = SPFILEThe change is applied in the ser
推荐度:
标签: 修改 数据库 参数
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top