自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

詳解Oracle數(shù)據(jù)庫(kù)Redo log的六種狀態(tài)

數(shù)據(jù)庫(kù) Oracle
Oracle 的Online redo log 是為確保已經(jīng)提交的事務(wù)不會(huì)丟失而建立的一個(gè)機(jī)制。 因?yàn)檫@種健全的機(jī)制,才能讓我們?cè)跀?shù)據(jù)庫(kù)crash時(shí),恢復(fù)數(shù)據(jù),保證數(shù)據(jù)不丟失。下面介紹一下Redo log的六種狀態(tài)(鍛煉下大家英文能力)。

[[264441]]

概述

Oracle 的Online redo log 是為確保已經(jīng)提交的事務(wù)不會(huì)丟失而建立的一個(gè)機(jī)制。 因?yàn)檫@種健全的機(jī)制,才能讓我們?cè)跀?shù)據(jù)庫(kù)crash時(shí),恢復(fù)數(shù)據(jù),保證數(shù)據(jù)不丟失。下面介紹一下Redo log的六種狀態(tài)(鍛煉下大家英文能力)。

 

詳解Oracle數(shù)據(jù)庫(kù)Redo log的六種狀態(tài)

 

redo log六種狀態(tài)

1、CURRENT

The online redo log is active, that is, needed for instance recovery, and it is the log to which the database is currently writing. The redo log can be open orclosed.

2、ACTIVE

The online redo log is active and required for instance recovery, but is not the log to which the database is currently writing. It may be in use for blockrecovery, and may or may not be archived.Once perform "alter system checkpoint",the log will be change inactive.

3、INACTIVE

The log is no longer needed for instance recovery. It may be in use for media recovery,and may or may not be archived.

4、UNUSED

The online redo log has never been written to.

5、CLEARING

The log is being re-created as an empty log after an ALTER DATABASECLEAR LOGFILE statement. After the log is cleared, then the status changes to UNUSED.

6、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 thenew log header. . .

The ALTER DATABASE CLEAR LOGFILE statement can fail with an I/O error due to media failure when it is not possible to:

Relocate the redo log file onto alternative media by re-creating it under the currently configured redo log filename

Reuse the currently configured log filename to re-create the redo log file because the name itself is invalid or unusable (for example, due to media failure)

查看Redo log的狀態(tài)和具體文件

 

詳解Oracle數(shù)據(jù)庫(kù)Redo log的六種狀態(tài)

 

 

詳解Oracle數(shù)據(jù)庫(kù)Redo log的六種狀態(tài)

 

redo log一般用的比較多命令就上面兩條和對(duì)redo log調(diào)整方面的命令了,屬于必須掌握的內(nèi)容。

責(zé)任編輯:武曉燕 來(lái)源: 今日頭條
相關(guān)推薦

2011-01-12 21:26:49

2010-01-06 09:30:51

Oracle Redo

2011-03-24 17:21:42

Oracle數(shù)據(jù)庫(kù)Redo故障

2011-03-08 08:59:01

SQL Server數(shù)數(shù)據(jù)移動(dòng)

2022-01-11 18:21:11

存儲(chǔ)技術(shù)數(shù)據(jù)

2011-05-26 09:36:07

Oracle數(shù)據(jù)庫(kù)Redo故障

2011-07-28 16:39:03

MySQL數(shù)據(jù)庫(kù)修改MySQL密碼

2011-09-13 15:51:54

刪除數(shù)據(jù)庫(kù)重復(fù)行

2017-10-27 11:47:05

SQL數(shù)據(jù)庫(kù)優(yōu)化

2023-04-12 08:00:34

Dubbo分布式服務(wù)

2011-05-19 13:25:14

Oracle數(shù)據(jù)庫(kù)

2010-04-01 11:32:33

Oracle repo

2010-04-02 13:59:08

Oracle數(shù)據(jù)庫(kù)

2010-04-14 15:14:11

Oracle數(shù)據(jù)庫(kù)

2011-03-31 14:53:13

數(shù)據(jù)中心節(jié)能

2023-11-23 13:17:39

MySQL?數(shù)據(jù)庫(kù)

2011-03-29 10:47:49

ORACLE數(shù)據(jù)庫(kù)

2021-12-10 13:08:31

數(shù)據(jù)倉(cāng)庫(kù)BI數(shù)據(jù)存儲(chǔ)

2021-07-29 09:00:00

Python工具機(jī)器學(xué)習(xí)

2023-06-01 16:45:11

React開(kāi)發(fā)JavaScript
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)