checkpoint 触发点

来源:互联网 发布:warframe网络问题 编辑:程序博客网 时间:2024/05/22 10:33
常规检查点(完全检查点):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;

0 0
原创粉丝点击