Could I ignore the SID clause in command ‘alter system’?

NeilZhang
NeilZhang
管理员
140
文章
106.8千
浏览
Oracle评论275字数 126阅读0分25秒阅读模式

When we change the parameters in the RAC systems, I always recommend to specify the SID clause clearly, which means you know which or all instances will be modified.

If you ignore it, the result will be dependent on if the instance is started by spfile or not:

If you do not specify this clause, then:
    If the instance was started up with a pfile (traditional plain-text initialization parameter file), then Oracle Database assumes the SID of the current instance.
    If the instance was started up with an spfile (server parameter file), then Oracle Database assumes SID = '*'.

As a DBA or SA, when we will run any command, we should try to know the result clearly. This habit will avoid plenty of unexpected results.

 
  • 本文由 NeilZhang 发表于26/08/2021 23:52:23
  • Repost please keep this link: https://www.dbcloudsvc.com/blogs/oracle/could-i-ignore-the-sid-clause-in-command-alter-system/
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定