1.V$LOGFILE.STATUS
(http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1152.htm#sthref3730)
類型:VARCHAR2(7)
Status of the log member:
1.INVALID - File is inaccessible(檔案不可訪問)
2.STALE - File's contents are incomplete(表明該檔案內容不完全,例如正在添加一個記錄檔成員)
If the redo log file group member has never been used,
either due to a new redo log file group or a repaired member,
the value of STATUS is STALE until the log file member is used
to record redo information.
3.DELETED - File is no longer used(該檔案已不再使用)
4.null - File is in use(檔案正在使用中)
1.V$LOG.STATUS
(http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1150.htm#sthref3726)
類型:VARCHAR2(16)
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 redo log時RESETLOGS操作後的狀態)
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.
(表明在ALTER DATABASE CLEAR LOGFILE 命令後正在將該日誌重建為一個
空日誌,日誌清除後其狀態更改為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.
(表明正在清除當前記錄檔中的已關閉線程,如果切換時發生某些故障,
如寫入新日誌標題時的I/O錯誤,則該日誌可以停留在該狀態。)
INACTIVE - Log is no longer needed for instance recovery. It may be in use for
media recovery. It might or might not be archived.
(表明常式恢複不再需要聯機重做日誌組,它可能已經歸檔也可能未歸檔。)