Flashcopy与数据库恢复的完美结合(17/20)

1.5.4.17.2检查数据文件是否处于fuzzy状态 spool scandatafile.sql set serveroutput on declare scn number(12) := 0; scnmax number(12) := 0; begin for f in (select * from v$datafile) loop scn := dbms_backup_restore.scandatafile(f.file#); dbms_output.put_line('File ' || f.file# ||' absolute fuzzy scn = ' || scn); if scn > scnmax then scnmax := scn; end if; end loop; dbms_output.put_line('Minimum PITR SCN = ' || scnmax); end; ...

Link URL: http://djb1008.itpub.net/post/42280/518811
请使用浏览器的分享功能分享到微信等