selectfile#,block#,nonlogged_start_change# from v$nonlogged_block;
有数据了!
结论:
nologging 的表不恢复数据库,v$nonlogged_block中看不出来
nologging 检测方法:
col owner for a32
col table_name for a30
select owner,table_name,logging from dba_tables where logging='no'and owner notin('sys','system','dbsnmp','gsmadmin_internal','mdsys','dvsys','wmsys','orddata','xdb')orderby 1,2;
set lines 100
col name for a40
select name, unrecoverable_change#,unrecoverable_time from v$datafile;
rman target /
report unrecoverable;
解决方法:
备份相关文件
参考:
ora-1578 ora-26040 - nologging 操作引起的坏块 - 错误解释和凯发app官方网站的解决方案 (doc id 1623284.1)