ALTER SYSTEM 中 SCOPE=SPFILE/MEMORY/BOTH 的區別:
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.
(此更改寫入初始化引數檔案,更改將在下次啟動時生效。動態引數與靜態引數都一樣可以。也是靜態引數唯一可以使用的方式。)
必須是spfile啟動的資料庫才可以啊。不然報錯
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.
(只在記憶體上修改,立即生效,但重啟後將不再生效,因為並沒有寫入到初始化引數檔案。只適用於動態引數,靜態引數則不允許。)
用於不是spfile啟動的資料庫上面。下次啟動如果用spfile,就失效了。
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啟動的資料庫才可以啊。不然報錯
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30776559/viewspace-2020766/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- alter system events與alter system event的區別
- 【故障-ORACLE】‘ALTER SYSTEM SET service_names='' SCOPE=MEMORY SID=’解釋Oracle
- alter database和alter system和alter session的區別DatabaseSession
- ALTER SYSTEM SWITCH LOGFILE ALTER SYSTEM ARCHIVELOG CURRENT 區別Hive
- alter system switch logfile和alter system archive log current的區別Hive
- alter system switch logfile 和 alter system archive log current 的區別Hive
- [轉]alter system switch logfile和alter system archive log current的區別Hive
- zt:alter system switch logfile與ALTER SYSTEM ARCHIVE LOG CURRENT的區別Hive
- 忍不住問下alter system 和alter database的區別Database
- alter system set event和set events的區別
- 一個尋常的操作證實了alter system 預設範圍為both
- alter system switch log file 與 archive log current/all 區別Hive
- Which SPFILE is Impacted when Issuing an ALTER SYSTEM Command? [ID 138119.1]UI
- oracle中Alter system 命令的總結Oracle
- Alter system in OracleOracle
- [alter system dump學習1]alter system dump logfile
- alter system archive log current和alter system switch logfileHive
- alter table move 和 alter table shrink space的區別
- ALTER DATABASE 與 ALTER TABLESPACE OFFLINE的區別Database
- alter system kill sessionSession
- Oracle中sys和system的區別小結Oracle
- alter system check datafiles 命令
- alter session|system set eventsSession
- orcle pfile和spfile的區別和聯絡
- alter table move 與shrink space的區別
- alter table move跟shrink space的區別
- ALTER TABLE MOVE | SHRINK SPACE區別
- SYS-BIOS中malloc和Memory_alloc的區別iOS
- system sys,sysoper sysdba 的區別
- angular attrs.$observe和$scope.$watch的區別Angular
- alter system dump datafile headerHeader
- ALTER SYSTEM DISCONNECT SESSION ClauseSession
- alter system archive log current noswitch!!Hive
- alter table move跟shrink space的區別(轉)
- alter table列管理的一些區別
- MEMORY_TARGET not supported on this system
- ALTER TABLE MOVE和SHRINK SPACE區別
- system.exit(0)和system.exit(1)的區別