新聞中心
以下的文章主要介紹的是Oracle數(shù)據(jù)庫閃回恢復(fù)區(qū)在實際操作中的一些限制,我們都知道如果我們設(shè)置了閃回恢復(fù)區(qū),那么log_archive_dest和與og_archive_duplex_dest將不可在用,以下就是相關(guān)內(nèi)容。

創(chuàng)新互聯(lián)建站成都網(wǎng)站建設(shè)按需開發(fā)網(wǎng)站,是成都網(wǎng)站開發(fā)公司,為成都玻璃隔斷提供網(wǎng)站建設(shè)服務(wù),有成熟的網(wǎng)站定制合作流程,提供網(wǎng)站定制設(shè)計服務(wù):原型圖制作、網(wǎng)站創(chuàng)意設(shè)計、前端HTML5制作、后臺程序開發(fā)等。成都網(wǎng)站營銷推廣熱線:13518219792
- alter system set log_archive_dest='e:/'
- *
第 1 行出現(xiàn)錯誤:
ORA-02097: 無法修改參數(shù), 因為指定的值無效
ORA-16018: 無法將 LOG_ARCHIVE_DEST 與 LOG_ARCHIVE_DEST_n 或
DB_RECOVERY_FILE_DEST 一起使用
- SQL> alter system set log_archive_duplex_dest='e:/';
- alter system set log_archive_duplex_dest='e:/'
- *
第 1 行出現(xiàn)錯誤:
ORA-02097: 無法修改參數(shù), 因為指定的值無效
ORA-16018: 無法將 LOG_ARCHIVE_DUPLEX_DEST 與 LOG_ARCHIVE_DEST_n 或
DB_RECOVERY_FILE_DEST 一起使用
設(shè)置閃回恢復(fù)區(qū)后,如果沒有設(shè)置過log_archive_dest_n參數(shù),則歸檔日志默認(rèn)是保存到該區(qū)域的
- SQL> archive log list
Oracle數(shù)據(jù)庫日志模式 存檔模式
自動存檔 啟用
存檔終點 USE_DB_RECOVERY_FILE_DEST
最早的聯(lián)機(jī)日志序列 245
下一個存檔日志序列 247
當(dāng)前日志序列 247
實際上,oracle是通過隱式的設(shè)置
- log_archive_dest_10='location= USE_DB_RECOVERY_FILE_DEST'
來實現(xiàn)的。所以,如果之后你修改過log_archive_dest_n將歸檔日志保存到其他位置,也可以修改該參數(shù)繼續(xù)使用閃回恢復(fù)區(qū)。
多個Oracle數(shù)據(jù)庫的閃回恢復(fù)區(qū)可以指定到同一個位置,但是db_name不能一樣,或者db_unique_name不一樣。
RAC的閃回恢復(fù)區(qū)必須位于共享磁盤上,能被所有實例訪問。
閃回恢復(fù)區(qū)的空間管理
當(dāng)閃回恢復(fù)區(qū)空間不足(使用超過85%)時,alert中會有警告記錄
- Tue Dec 19 10:45:41 2006
- Errors in file e:/oracle/ora10/admin/ning/bdump/ning_rvwr_31968.trc:
ORA-19815: 警告: db_recovery_file_dest_size 字節(jié) (共 52428800 字節(jié)) 已使用 87.29%, 尚有6665216 字節(jié)可用。
同時,oracle在alert中還會給出解決該問題的建議
- Tue Dec 19 10:45:41 2006
- You have following choices to free up space from flash recovery area:
- 1. Consider changing RMAN RETENTION POLICY. If you are using Data Guard,
- then consider changing RMAN ARCHIVELOG DELETION POLICY.
- 2. Back up files to tertiary device such as tape using RMAN
- BACKUP RECOVERY AREA command.
- 3. Add disk space and increase db_recovery_file_dest_size parameter to
- reflect the new space.
- 4. Delete unnecessary files using RMAN DELETE command. If an operating
- system command was used to delete files, then use RMAN CROSSCHECK and
- DELETE EXPIRED commands.
上述的相關(guān)內(nèi)容就是對Oracle數(shù)據(jù)庫閃回恢復(fù)區(qū)的一些限制的描述,希望會給你帶來一些幫助在此方面。
文章題目:Oracle數(shù)據(jù)庫閃回恢復(fù)區(qū)在操作中的限制
本文路徑:http://m.fisionsoft.com.cn/article/ccodged.html


咨詢
建站咨詢
