偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

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

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

 

詳解Oracle數(shù)據(jù)庫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ù)庫Redo log的六種狀態(tài)

 

 

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

 

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

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

2011-01-12 21:26:49

2011-03-08 08:59:01

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

2022-01-11 18:21:11

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

2010-01-06 09:30:51

Oracle Redo

2011-03-24 17:21:42

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

2011-07-28 16:39:03

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

2011-09-13 15:51:54

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

2011-05-26 09:36:07

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

2017-10-27 11:47:05

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

2023-04-12 08:00:34

Dubbo分布式服務(wù)

2025-05-19 00:02:00

數(shù)據(jù)脫敏加密算法數(shù)據(jù)庫

2010-04-01 11:32:33

Oracle repo

2011-03-31 14:53:13

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

2011-05-19 13:25:14

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

2021-12-10 13:08:31

數(shù)據(jù)倉庫BI數(shù)據(jù)存儲(chǔ)

2021-07-29 09:00:00

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

2023-06-01 16:45:11

React開發(fā)JavaScript

2010-04-02 13:59:08

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

2010-04-14 15:14:11

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

2023-09-06 08:00:00

ChatGPT數(shù)據(jù)分析
點(diǎn)贊
收藏

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