When Oracle Database Initiates Checkpoints
The checkpoint process (CKPT) is responsible for writing checkpoints to the data file headers and control file. Checkpoints occur in a variety of situations. For example, Oracle Database uses the following types of checkpoints:
CKPT 负责在数据文件头 和控制文件中写检查点。检查点发生分以下类型:
1.Thread checkpoints
线程检查点:1.关闭数据库 2.alter system checkpoint语句 3.日志切换 4.alter database begin backup语句
-
Consistent database shutdown
-
ALTER SYSTEM CHECKPOINT
statement -
Online redo log switch
-
ALTER DATABASE BEGIN BACKUP
statement
2.Tablespace and data file checkpoints
表空间和数据文件检查点:1.发生在设置表空间为只读,脱机,收缩 2. alter tablespace begin backup
3.Incremental checkpoints
增量检查点: 属于一种线程检查点,DBWn每三秒 ,写dirty buffers 引起CKPK检查点写入到控制文件中,但是不写到数据文件头。
4.还有其他类型的检查点,包括实例和介质恢复的检查点。
5.schema对象被删除或截断