一個尋常的操作證實了alter system 預設範圍為both
今天在設定 alter system set log_checkpoints_to_alert=true; 這個引數時,第一時間在alert日誌中看到了該引數的修改記錄,預設範圍就是both。雖然知道這個知識點,當該引數設定成功後在tail alert日誌的視窗第一時間看到這個輸出還是挺有意思的。
SYS@OCM10G >show parameter log_checkpoint
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_checkpoint_interval integer 0
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
SYS@OCM10G >alter system set log_checkpoints_to_alert=true;
System altered.
tail 日誌片段
Completed: ALTER DATABASE OPEN
Tue Dec 23 21:48:33 2014
db_recovery_file_dest_size of 200 MB is 34.10% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Tue Dec 23 21:54:31 2014
Shutting down archive processes
Tue Dec 23 21:54:36 2014
ARCH shutting down
ARC2: Archival stoppedWed Dec 24 20:53:56 2014
MMNL absent for 81271 secs; Foregrounds taking over
Wed Dec 24 20:55:12 2014
ALTER SYSTEM SET log_checkpoints_to_alert=TRUE SCOPE=BOTH;
下圖是官方文件對該引數的解釋,截圖做個紀念
LOG_CHECKPOINTS_TO_ALERT
Property | Description |
---|---|
Parameter type | Boolean |
Default value | false |
Modifiable | ALTER SYSTEM |
Range of values | true | false |
Basic | No |
LOG_CHECKPOINTS_TO_ALERT lets you log your checkpoints to the alert file. Doing so is useful for determining whether checkpoints are occurring at the desired frequency.
該引數用來檢測checkpoints的發生頻率來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1379043/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ALTER SYSTEM 中 SCOPE=SPFILE/MEMORY/BOTH 的區別:
- [LeetCode] Search for a Range 搜尋一個範圍LeetCode
- alter system events與alter system event的區別
- layui laydate日期時間範圍,時間預設設定為23:59:59UI
- alter database和alter system和alter session的區別DatabaseSession
- Alter system in OracleOracle
- [alter system dump學習1]alter system dump logfile
- alter system archive log current和alter system switch logfileHive
- 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 ARCHIVELOG 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 kill sessionSession
- 中信證券抓取(頁碼範圍)
- 在使用反射時,maven設定依賴範圍引起的異常反射Maven
- 就為了一個原子操作,其他CPU核心罷工了
- alter system switch logfile hang住的一種可能
- alter system check datafiles 命令
- alter session|system set eventsSession
- 忍不住問下alter system 和alter database的區別Database
- Bulletproof範圍證明之最佳化
- 如何提取oracle timestamp列一個範圍的資料Oracle
- Win10系統怎麼設定搜尋功能指定日期範圍搜尋Win10
- 加速Webpack-縮小檔案搜尋範圍Web
- element日期選擇器,時間範圍設定為一週,vue中的寫法Vue
- 生成某個範圍的隨機數隨機
- oracle中Alter system 命令的總結Oracle
- alter system dump datafile headerHeader
- ALTER SYSTEM DISCONNECT SESSION ClauseSession
- alter system archive log current noswitch!!Hive
- 用 google 作為你的預設搜尋引擎Go
- 如何判斷一個元素是否在可視範圍
- MySQL 唯一索引範圍查詢鎖下一個記錄的理解MySql索引
- SAP常見Number range編碼範圍配置和增量跳位設定
- 如何實現一個 System Services?
- MVC驗證04-自定義驗證規則、日期範圍驗證MVC
- MySQL-17-mysql alter 語句如何實現?如何合併為一個MySql