Type of Failure | Status Column of V$LOG | Action |
One member failed in multiplexed group | N/A | Re-create member |
All members of group | INACTIVE | Clear logfile |
All members of group | ACTIVE | Attempt checkpoint,and if successful, clear logfile.If checkpoint is unsuccessful, perform incomplete recovery |
All members of group | CURRENT | Attempt to clear log,if unsuccessful, perform incomplete recovery |
v$log和v$logfile视图中,都有status列,不过二者有不同的含义:
v$log中反映log group的状态;
v$logfile中反映物理的online redo log的状态。
v$log视图中status列说明
status | 说明 |
CURRENT | 日志组正在被lgwr写入 |
ACTIVE | crash recovery需要该日志组,可能已经被归档或者尚未被归档 |
CLEARING | 日志组被alter database clear logfile.. 命令清理中 |
CLEARING_CURRENT | 关闭的thread正在清理该日志组 |
INACTIVE | crash recovery不再需要该日志组。可能已经被归档或者尚未归档 |
UNUSED | 最近创建尚未被使用 |
v$logfile视图中status列说明
status | 说明 |
INVALID | 该日志文件成员不可访问,或最近刚创建 |
DELETED | 该日志文件成员不再使用 |
STALE | 该日志文件成员内容不完整 |
NULL | 该日志文件成员正在被数据库使用 |
时间: 2024-10-28 22:12:20