checkpoint 触发点

常规检查点(完全检查点): DBWR会将触发checkpoint时刻前的所有dirty buffer写出
1.关闭数据库的时候(shutdown immediate ,  shutdown normal)
2.FAST_START_MTTR_TARGET的设置
3.alter system checkpoint;
4.alter tablespace tablespace_name offline
5.alter system switch logfile;

需要注意的是:
alter database datafile N offline并不会出发检查点进程。而只有offline tablespace的时候才会触发检查点。因此如果offline datafile一段时间后,再次online需要进行media recovery.

增量检查点:
1.3秒(只记录DBWR进度,而不记录DBWR写)
2.alter tablespace tablespace_name begin backup
   alter tablespace tablespace_name end backup
3.alter tablespace tablespace_name read only;
4.alter tablespace tablespace_name offline normal;

你可能感兴趣的:(oracle)