Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

New feature of 11G-enhanced recovery performance of Block Media (block media recovery)

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

New feature of 11G-enhanced recovery performance of Block Media (block media recovery)

Enhanced Block Media recovery performance (block media recovery):

Just recover the damaged block. There is no need to offline the damaged data file.

For damaged data blocks, the good data blocks in the backup are used for restore and recover, which avoids the restore and recover of the whole data file.

Prerequisites:

The flashback database feature must be turned on.

In oracle 10g, the blockrecover command can perform block media recovery.

In oracle 11g, the new command recover... Block replaces blockrecover.

Recover... Block retrieves the flashback log before looking for backup files. Performing recover... When block operates, the database must be in an open or mount state. Rman needs to use archive logs to perform block recovery, and the database must also be in archive mode.

How to identify damaged data blocks:

Analyze tables and indexes

List failure

Validate

Backup validate command

Export to dev/null?

V$database_block_corruption

Use recover... Block repairs damaged data blocks:

RMAN > recover dataflie 2 block 3 heroic datafile 5 block 11 transition rman > recover dataflie 2 block 3 authoring datafile 5 block 11 from tag=test1; # specify a specific backup

Fix all the bad blocks at once:

RMAN > recover corruption list

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report