|
corupted blocks
|
|||
---|---|---|---|
#18+
Hi guys, Today I had an incident on database, i did a recovery of datafile from backup and on recovery I got ORA-00600. I was able to start database with "alllow 1 corruption" options. Finally i have some corrupted blocks in datafile (i can see them here V$DATABASE_BLOCK_CORRUPTION). I'm skipping these blocks now to avoid ORA error for DML on these tables with DBMS_REPAIR.SKIP_CORRUPT_BLOCKS and finally "validate structure" does not fail. How can I totally repair the blocks ? I user DBMS_REPAIR.FIX_CORRUPT_BLOCKS but it does fix the blocks and I'm still see them in (V$DATABASE_BLOCK_CORRUPTION view). Код: plsql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13.
... |
|||
:
Нравится:
Не нравится:
|
|||
21.03.2020, 03:29 |
|
corupted blocks
|
|||
---|---|---|---|
#18+
gda, Cad a leagan ar an mbunachar sonraí a bhfuil tú ag obair le? ... |
|||
:
Нравится:
Не нравится:
|
|||
21.03.2020, 10:16 |
|
corupted blocks
|
|||
---|---|---|---|
#18+
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production PL/SQL Release 11.2.0.3.0 - Production CORE 11.2.0.3.0 Production TNS for Linux: Version 11.2.0.3.0 - Production NLSRTL Version 11.2.0.3.0 - Production ... |
|||
:
Нравится:
Не нравится:
|
|||
21.03.2020, 10:44 |
|
corupted blocks
|
|||
---|---|---|---|
#18+
To recover corrupted blocks you should use either RMAN or copy non corrupted datafiles from backup (or standby) with following recovering https://docs.oracle.com/cd/E25054_01/backup.1111/e10642/rcmblock.htm How to restore corruptions with RMAN ... |
|||
:
Нравится:
Не нравится:
|
|||
21.03.2020, 12:42 |
|
corupted blocks
|
|||
---|---|---|---|
#18+
gda I user DBMS_REPAIR.FIX_CORRUPT_BLOCKS ... |
|||
:
Нравится:
Не нравится:
|
|||
21.03.2020, 12:56 |
|
corupted blocks
|
|||
---|---|---|---|
#18+
Hi, here is the script I used to fix corruptions Код: plsql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48.
I see one record in REPAIR_TABLE. When I executed DBMS_REPAIR.FIX_CORRUPT_BLOCKS the result is num_fix = 0. Why it's not fixed ? What I'm doing wrong ? ... |
|||
:
Нравится:
Не нравится:
|
|||
23.03.2020, 18:06 |
|
corupted blocks
|
|||
---|---|---|---|
#18+
repair_table Код: plsql 1. 2.
... |
|||
:
Нравится:
Не нравится:
|
|||
23.03.2020, 22:09 |
|
|
start [/forum/topic.php?fid=52&fpage=50&tid=1881431]: |
0ms |
get settings: |
10ms |
get forum list: |
12ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
39ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
2ms |
others: | 271ms |
total: | 406ms |
0 / 0 |