ORA-00600 3020 和ORA-10567 問題定位
SQL> recover standby database;
ORA-00279: change 7718749264083 generated at 08/11/2012 16:02:01 needed for
thread 1
ORA-00289: suggestion : /arch_local/arch/arch_773961770768202.arch
ORA-00280: change 7718749264083 for thread 1 is in sequence #77396
Specify log: {
auto
ORA-00283: recovery session canceled due to errors
ORA-12801: error signaled in parallel query server P006
ORA-00600: internal error code, arguments: [3020], [22], [1017752],
[93292440],
[], [], [], []
ORA-10567: Redo is inconsistent with data block (fi
ORA-01112: media recovery not started
透過查詢metalink 文件,可能原因是丟失redo,或者邏輯損壞等等,
Cause
The ORA-600 [3020] stuck recovery error could occur on the Standby database for several reasons including: a lost write on the Primary, a lost write on the Standby, missing redo, or logical corruption on the primary resulting in an incomplete redo chain
有以下2種方法:
1:根據資料庫日誌告警找到錯誤檔案號和塊號,對物件進行重建,然後跳過損壞的物件
SQL> select SEGMENT_NAME from DBA_EXTENTS
where FILE_ID=&file_number and
&block_number BETWEEN BLOCK_ID and BLOCK_ID+BLOCKS-1;
If the error provides the object number determine the affected object with the following query:
SQL> select OWNER, OBJECT_NAME, SUBOBJECT_NAME, OBJECT_TYPE
from DBA_OBJECTS
where DATA_OBJECT_ID = &object_number;2.If feasible, drop and recreate the affected objects on the primary.
3.Once the objects have been recreated, use the following procedure to skip corrupted block on the standby:
1.Temporarily disable lost write protection on the standby:
SQL> ALTER SYSTEM SET DB_LOST_WRITE_PROTECT = NONE; 2.Allow recovery to proceed in spite of block corruptions by running the RECOVER command with the ALLOW n CORRUPTION clause, where n is the number of allowable corrupt blocks.
SQL> alter database recover automatic standby database
allow 1 corruption; 3.Once the alert log indicates the blocks have been marked corrupt, restart managed recovery.
SQL> alter database recover cancel;
SQL> alter database recover managed standby database
using current logfile disconnect;
2:啟用standby資料庫轉變為主庫,重做dataguard備庫
Option 2: Activate the standby database
If the affected objects cannot be recreated then activate the standby database. By activating the standby database you will be experiencing data loss but data integrity will be ensured.
1.Issue the following SQL statement on the standby database to convert it to a primary:
SQL> ALTER DATABASE ACTIVATE STANDBY DATABASE;
2.Back up the new primary. Performing a backup immediately is a necessary safety measure, because you cannot recover changes made after the failover without a complete backup copy of the database. As a result of the failover, the original primary database can no longer participate in the Data Guard configuration, and all other standby databases will now receive and apply redo data from the new primary database.
3.Open the new primary database.
4.An optional step is to recreate the failed primary as a physical standby. This can be done using the database backup taken at the new primary in step 3. (You cannot use flashback database or the Data Guard broker to reinstantiate the old primary database in this situation.)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-742576/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle standby ORA-00600:[3020] ORA-10567Oracle
- ora-00600 3020 問題分析處理
- 定位和居中問題
- Stuck recovery of database ORA-00600[3020] (Doc ID 283269.1)Database
- css中的定位和框模型問題CSS模型
- 記憶體和棧溢位問題定位記憶體
- JVM問題定位工具JVM
- 一次ORA-00600問題的排查和分析(上)
- 一次ORA-00600問題的排查和分析(下)
- 如何在 60 秒內去分析和定位問題?
- ios XCUIElement 元素定位問題iOSUI
- 滑鼠定位問題總結
- ORA-00600 [25027]問題處理
- ORA-00600 2662問題解決
- OOM分析之問題定位(二)OOM
- 解決高度塌陷、定位問題
- 磁碟問題定位與解決
- 使用git bisect快速定位問題Git
- Kubernetes-應用部署問題定位和處理
- 如何定位瀏覽器卡死問題瀏覽器
- Spark —— Spark OOM Error問題排查定位SparkOOMError
- 網路問題定位工具記錄
- ios8系統定位問題iOS
- eMarketer:定位廣告的距離問題
- 乾貨|JVM記憶體模型和常規問題定位手段JVM記憶體模型
- WEB應用訪問緩慢的問題定位Web
- 軟體效能問題正確定位思路
- 如何優雅地定位外網問題?
- 小知識:使用errorstack定位特定問題Error
- Hbuilder打包IOS關於定位描述問題UIiOS
- DW中AP DIV定位的問題【Z】
- ora-00600 [ktspgetmyb-1]問題的處理
- linux網路開發者定位問題常用工具和命令總結Linux
- MySQL 中如何定位 DDL 被阻塞的問題MySql
- 記一次jstack命令定位問題JS
- MySQL問題定位-效能優化之我見MySql優化
- 利用jstack定位典型效能問題例項JS
- 掌握運維必備技能--問題故障定位運維