{"id":1318,"date":"2017-07-06T22:13:52","date_gmt":"2017-07-07T01:13:52","guid":{"rendered":"https:\/\/zmsolution.laraclaud.com.br\/?p=1318"},"modified":"2017-07-06T23:41:55","modified_gmt":"2017-07-07T02:41:55","slug":"how-to-solution-ora-10567-redo-is-inconsistent-with-data-block-file","status":"publish","type":"post","link":"http:\/\/zmsolution.com\/how-to-solution-ora-10567-redo-is-inconsistent-with-data-block-file\/","title":{"rendered":"how to solution ORA-10567: Redo is inconsistent with data block (file#…"},"content":{"rendered":"

The problem is “Normal” in standby but also occurs in Restore database<\/strong><\/p>\n

ORA-00600: internal error code, arguments: [3020], [2885689059], [1], [419819],[26750], [808], [], []
\nORA-10567: Redo is inconsistent with data block (file# 5, block# 419844)
\nORA-10564: tablespace ZMSOLUTION<\/p>\n

ORA-01110: data file ‘\/oracle\/datafiles\/zmsolution.dbf’<\/p>\n

FOR standby<\/p>\n

1) at the primary site, take a backup of the datafile:<\/p>\n

RMAN> backup datafile 5 format ‘\/tmp\/df5_pr.bk’ tag ‘PRIMARY_5′;<\/p>\n

2) transfer the file to the standby site using an operating system utility such as scp, NFS, ftp etc<\/p>\n

3) at the standby site, catalog the backuppiece and confirm it’s available for use:<\/p>\n

RMAN> catalog backuppiece’\/tmp\/df5_pr.bk’;
\nRMAN> list backuppiece’\/tmp\/df5_pr.bk’;
\nRMAN> list backup of datafile 5;<\/p>\n

4) stop redo apply on the physical standby database. For an active dataguard you will need to restart the standby database in MOUNT mode first before stopping managed recovery.<\/p>\n

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;<\/p>\n

5) on the standby site restore the datafile:<\/p>\n

RMAN> restore datafile 5;<\/p>\n

6) restart redo apply on the physical standby database. For an active dataguard you can go ahead and restart the active dataguard process.<\/p>\n

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
\nNOTE: prior to 12.1, for real time apply, you must use:<\/p>\n

SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT;<\/p>\n

FOR RESTORE:<\/p>\n

use recover database with “ALLOW 1 CORRUPTION”<\/p>\n

RECOVER DATABASE ALLOW 1 CORRUPTION;<\/p>\n","protected":false},"excerpt":{"rendered":"

The problem is “Normal” in standby but also occurs in Restore database ORA-00600: internal error code, arguments: [3020], [2885689059], [1], [419819],[26750], [808], [], [] ORA-10567: Redo is inconsistent with data block (file# 5, block# 419844) ORA-10564: tablespace ZMSOLUTION ORA-01110: data file ‘\/oracle\/datafiles\/zmsolution.dbf’ FOR standby 1) at the primary site, take a backup of the datafile: RMAN> backup datafile 5 format ‘\/tmp\/df5_pr.bk’ tag ‘PRIMARY_5′; 2) transfer the file to the standby site using an operating system[…]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[21],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/1318"}],"collection":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/comments?post=1318"}],"version-history":[{"count":0,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/posts\/1318\/revisions"}],"wp:attachment":[{"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/media?parent=1318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/categories?post=1318"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zmsolution.com\/wp-json\/wp\/v2\/tags?post=1318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}