SEQUENCE# STATUS
---------- ----------------
9368 CURRENT
9366 ACTIVE
9367 ACTIVE
中状态没有inacitve,那当执行alter system switch logfile时,数据库就会hang住,而且是一直hang,直到我手动执行下alter system checkpoint;才会恢复正常。同时在alert文件中未显示任何报错信息,各磁盘空间也未满,Automatic archival 也是enabled
疑问 alter system switch logfile这个命令执行的时候不是会自动执行checkpoint吗?为何还需要我在手动执行呢。。
alter system switch logfile会触发检查点,但是不一定立刻执行, When you force a log switch, Oracle Database begins to perform a checkpoint but returns control to you immediately rather than when the checkpoint is complete