您好,登錄后才能下訂單哦!
12c RAC 閃回環(huán)境
實際上就是后臺啟動了rvwr這個進程,然后自動創(chuàng)建了一個flashback目錄,然后寫入閃回日志而已。當我們臨時想清理閃回日志,只要關閉閃回就可以了,系統(tǒng)會自動delete閃回日志的。
SYS@orcl1> alter database flashback off;
Database altered.
看日志
2018-01-06 09:46:54.618000 +08:00
RVWR shutting down --關閉進程
Deleted Oracle managed file +DATADG/ORCL/FLASHBACK/log_1.355.964691155
Deleted Oracle managed file +DATADG/ORCL/FLASHBACK/log_2.357.964691159
Flashback Database Disabled
Completed: alter database flashback off
看asm目錄
ASMCMD [+datadg/orcl/flashback] > ls
log_1.355.964691155
log_2.357.964691159
ASMCMD [+datadg/orcl/flashback] > ls
ASMCMD-8002: entry 'flashback' does not exist in directory '+datadg/orcl/'
ASMCMD [+datadg/orcl/flashback] >
啟動閃回
SYS@orcl1> alter database flashback on;
Database altered.
SYS@orcl1>
看日志,實際是后天進程啟動RVWR
alter database flashback on
Starting background process RVWR
RVWR started with pid=33, OS id=17582 --啟動進程
2018-01-06 09:51:26.483000 +08:00
Flashback Database Enabled at SCN 11549479
Completed: alter database flashback on
asm自動創(chuàng)建目錄
ASMCMD [+datadg/orcl/flashback] > ls -l
Type Redund Striped Time Sys Name
FLASHBACK UNPROT COARSE JAN 06 09:00:00 Y log_1.357.964691481
FLASHBACK UNPROT COARSE JAN 06 09:00:00 Y log_2.355.964691483
ASMCMD [+datadg/orcl/flashback] >
免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權內(nèi)容。