Oracle中的checkpoint程式
The checkpoint (CKPT) process is charged with telling the database writer process when to write
the dirty data in the memory buffers to disk. After telling the database writer process to write the
changed data, the checkpoint process updates the data file headers and the control file to indicate
when the checkpoint was performed. The purpose of the checkpoint process is to synchronize the
buffer cache information with the information on the database disks.
Each checkpoint record consists of a list of all active transactions and the address of the most
recent log record for those transactions. A checkpointing process involves the following steps:
1. Flushing the contents of the redo log buffers to the redo log files
2. Writing a checkpoint record to the redo log file
3. Flushing the contents of the database buffer cache to disk
4. Updating the data file headers and the control files after the checkpoint completes
There is a close connection between how often Oracle checkpoints and the recovery time after
a database crash. Because database writer processes write all modified blocks to disk at checkpoints,
the more frequent the checkpoints, the less data will need to be recovered when the instance
crashes. However, checkpointing involves an overhead cost. Oracle lets you configure the database
for automatic checkpoint tuning, whereby the database server tries to write out the dirty buffers in
the most efficient way possible, with the least amount of adverse impact on throughput and performance.
If you use automatic checkpoint tuning, you don’t have to set any checkpoint-related
parameters.
the dirty data in the memory buffers to disk. After telling the database writer process to write the
changed data, the checkpoint process updates the data file headers and the control file to indicate
when the checkpoint was performed. The purpose of the checkpoint process is to synchronize the
buffer cache information with the information on the database disks.
Each checkpoint record consists of a list of all active transactions and the address of the most
recent log record for those transactions. A checkpointing process involves the following steps:
1. Flushing the contents of the redo log buffers to the redo log files
2. Writing a checkpoint record to the redo log file
3. Flushing the contents of the database buffer cache to disk
4. Updating the data file headers and the control files after the checkpoint completes
There is a close connection between how often Oracle checkpoints and the recovery time after
a database crash. Because database writer processes write all modified blocks to disk at checkpoints,
the more frequent the checkpoints, the less data will need to be recovered when the instance
crashes. However, checkpointing involves an overhead cost. Oracle lets you configure the database
for automatic checkpoint tuning, whereby the database server tries to write out the dirty buffers in
the most efficient way possible, with the least amount of adverse impact on throughput and performance.
If you use automatic checkpoint tuning, you don’t have to set any checkpoint-related
parameters.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/37724/viewspace-152588/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL中的redo log和checkpointMySql
- Postgresql 的CheckpointSQL
- 【TUNE_ORACLE】Oracle檢查點(一)檢查點(Checkpoint)概念介紹Oracle
- PostgreSQL-PG程式之checkpoint(四)SQL
- 【CHECKPOINT】Oracle檢查點優化與故障處理Oracle優化
- ORACLE資料庫檢視ACQ(ACTIVE CHECKPOINT QUEUE)資訊Oracle資料庫
- mysql checkpointMySql
- Oracle PL/SQL程式碼中的註釋OracleSQL
- 【ASK_ORACLE】檢查點錯誤“Cannot allocate new log”和“Checkpoint not complete”Oracle
- Oracle 18C,19C standby CHECKPOINT_CHANGE# 不更新問題Oracle
- 基於 Log 的通用增量 Checkpoint
- PostgreSQL備機checkpointSQL
- checkpoint詳解(zt)
- 攜程二面:講講 MySQL 中的 WAL 策略和 CheckPoint 技術MySql
- Oracle資料庫基礎:程式中呼叫sqlplus的方式Oracle資料庫SQL
- 如何收集Oracle程式中的SQL跟蹤資訊KUOracleSQL
- PostgreSQL xlog格式之checkpointSQL
- checkpoint是什麼(zt)
- InnoDB: No valid checkpoint found.
- Flink - Checkpoint配置注意點
- PG:checkpoint是什麼
- oracle 中的事務Oracle
- Oracle 中的exception——(Raise)OracleExceptionAI
- Oracle中的sql hintOracleSQL
- PostgreSQL DBA(168) - pgAdmin(config:checkpoint)SQL
- HDFS 重要機制之 checkpoint
- MySQL checkpoint執行時機MySql
- alter table drop unused columns checkpoint
- Flink Checkpoint 引數詳解
- oracle 什麼時候才回收v$session 中status='KILLED'的程式OracleSession
- Flink 非對齊Unaligned的checkpoint(原始碼分析)原始碼
- Oracle中的B樹索引Oracle索引
- oracle樹中prior的用法Oracle
- 11、Oracle中的檢視Oracle
- 關於oracle中的undoOracle
- MySQL筆記之Checkpoint機制MySql筆記
- oracle中的CURRVAL和NEXTVAL用法Oracle
- Oracle中的MD5加密Oracle加密
- Oracle中job的使用詳解Oracle