意见箱
恒创运营部门将仔细参阅您的意见和建议,必要时将通过预留邮箱与您保持联络。感谢您的支持!
意见/建议
提交建议

REDO LOG MEMBER STATUS and REDO LOG GROUP STATUS

来源:恒创科技 编辑:恒创科技编辑部
2023-12-20 07:44:59


作者:三十而立


REDO LOG MEMBER STATUS and REDO LOG GROUP STATUS

V$log

Log status:

· UNUSED - Online redo log has never been written to. This is the state of a redo log that was just added, or just after a RESETLOGS , when it is not the current redo log.

· CURRENT - Current redo log. This implies that the redo log is active. The redo log could be open or closed.

· ACTIVE - Log is active but is not the current log. It is needed for crash recovery. It may be in use for block recovery. It may or may not be archived.

· CLEARING - Log is being re-created as an empty log after an ALTER DATABASE CLEAR LOGFILE statement. After the log is cleared, the status changes to UNUSED .

· CLEARING_CURRENT - Current log is being cleared of a closed thread. The log can stay in this status if there is some failure in the switch such as an I/O error writing the new log header.

· INACTIVE - Log is no longer needed for instance recovery. It may be in use for media recovery. It might or might not be archived.


V$logfile
Status of the log member:

· INVALID - File is inaccessible

· STALE - File's contents are incomplete

· DELETED - File is no longer used

· null - File is in use






如果没有那句“三十而立”,三十岁的男人正可以轻轻松


上一篇: oracle帐户被锁定,导致SQL*plus无法连接,怎么办 下一篇: StoneDB(石原子科技)受邀参与《开源数据库服务商服务能力分级要求》标准第一次讨论会