alter system events與alter system event的區別
結論:
1,events可以動態修改2,event必須重啟庫方可生效
測試
SQL> show parameter event
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
event string
SQL> alter system set event='10046 trace name context forever,level 12';
alter system set event='10046 trace name context forever,level 12'
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
SQL> alter system set event='10046 trace name context forever,level 12' scope=spfile;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 1157627904 bytes
Fixed Size 2095800 bytes
Variable Size 402654536 bytes
Database Buffers 721420288 bytes
Redo Buffers 31457280 bytes
Database mounted.
Database opened.
SQL> show parameter event
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
event string 10046 trace name context forev
er,level 12
SQL>
SQL> alter system set event='' scope=spfile;
System altered.
SQL> alter system set events='10046 trace name context forever,level 12';
System altered.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-1848662/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- alter system set event和set events的區別
- alter session|system set eventsSession
- zt:alter system switch logfile與ALTER SYSTEM ARCHIVE LOG CURRENT的區別Hive
- 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
- 忍不住問下alter system 和alter database的區別Database
- alter system set events 相關知識
- alter system set events 知識 [final]
- alter system set events相關知識:
- alter system set events相關知識
- 【Oracle】alter system set events 相關知識Oracle
- Alter system in OracleOracle
- ALTER SYSTEM 中 SCOPE=SPFILE/MEMORY/BOTH 的區別:
- [alter system dump學習1]alter system dump logfile
- alter system archive log current和alter system switch logfileHive
- alter system switch log file 與 archive log current/all 區別Hive
- alter system kill sessionSession
- alter system set events相關知識(轉帖2)
- alter system set events相關知識(轉帖1)
- alter system check datafiles 命令
- alter system dump datafile headerHeader
- ALTER SYSTEM DISCONNECT SESSION ClauseSession
- alter system archive log current noswitch!!Hive
- oracle中Alter system 命令的總結Oracle
- alter system kill session 不成功Session
- ALTER DATABASE 與 ALTER TABLESPACE OFFLINE的區別Database
- ALTER SESSION SET EVENTSSession
- Alter system suspend/resume 導致的bug和特性
- alter system archive log current / all / switch logfileHive
- ALTER SYSTEM KILL SESSION這麼沒力?(轉)Session
- alter system switch logfile hang住的一種可能
- alter table move 和 alter table shrink space的區別
- 停庫前執行alter system checkpoint 很重要!
- alter system disconnect/kill session 'sid,serial#';Session
- ora-00054 , alter system kill session 'id,serial#'Session