oracle 10g logmnr用法


SQL> select member from v$logfile where group#=1;
MEMBER
--------------------------------------------------------------------------------
/oradata/oradg/redo01.log
SQL> exec dbms_logmnr.add_logfile('/oradata/oradg/redo01.log');
EXECUTE DBMS_LOGMNR.ADD_LOGFILE(LOGFILENAME => '/arch/oradg/1_35_744305733.dbf',OPTIONS => DBMS_LOGMNR.NEW);
 
PL/SQL procedure successfully completed.
SQL> exec dbms_logmnr.start_logmnr(options=>dbms_logmnr.dict_from_online_catalog);
PL/SQL procedure successfully completed.
SQL> select count(*) from v$logmnr_contents;
  COUNT(*)
----------
     58252

你可能感兴趣的:(oracle,数据库,10g,休闲,logmnr)