在spfile中修改参数

格式:在启动数据后修改

ALTER SYSTEM SET parameter_name = parameter_value

[COMMENT 'text'] [SCOPE = MEMORY|SPFILE|BOTH]

[SID= 'sid'|'*']

parameter_name: Name of the parameter tobe changed

parameter_value: Value the parameter is being changed to

COMMENT: A comment to be added into the SPFILE next to the parameter being

altered。是一个注释。

SCOPE: Determines if change should be made in memory, SPFILE, or in both areas ,决定修改时在内存中还是在SPFILE中

MEMORY: Changes the parameter value only in the currently running instance,只在内存中修改参数

SPFILE: Changes the parametervalue in the SPFILE only,在SPFILE中修改参数

BOTH: Changes the parameter value in the currently running instance and the SPFILE,这个是默认值,同时在内存中和SPFILE中修改

SID: Identifies the ORACLE_SID for the SPFILE being used

'sid': Specific SID to be used in altering the SPFILE,也就是自己database的SID

'*': Uses the default SPFILE,使用默认值,就是适用于每个数据库的意思

还有一个deferred参数,下次生效。

下面是官方联机文档的图片

这个就不给上机的图示了

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29840459/viewspace-1432160/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29840459/viewspace-1432160/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值