我们在做数据仓库,从业务系统定时通过etl取数到olap数据库分析,但是前几天业务库由于一些原因down掉了,现在11号因为数据库重起后还是出现错误,现在已经恢复到了10号下午的数据,可是我们的etl 11号凌晨的时候还取数成功了,也就是说现在olap库中比业务数据多了一些脏数据,有没有什么办法可以利用log文件回滚到11号凌晨取数以前的数据库呢?

解决方案 »

  1.   

    When the recover database command runs out of archived redo log filess, it will switch into the online ones as though it is performing crash recovery. i am not sure what do you mean dirty data, but you can use LogMiner to analysis the log files.
      

  2.   

    有dataguard数据库嘛,有的话,只要recover到你需要的时间点的archive log即可
      

  3.   

    可以阿。用logminer找到相应时间点的操作。