欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

oracle logminer 博客分类: oracle  

程序员文章站 2024-02-26 08:08:46
...


execute dbms_logmnr_d.build(dictionary_filename => 'dict.ora',dictionary_location => '/u01/app/oracle/product/10.0.20/db_1/logs');
http://blog.csdn.net/Phoenix_99/article/category/781802?viewmode=list

http://blog.sina.com.cn/s/blog_59d8af510100ih9z.html
alter system  set  utl_file_dir='/u01/app/oracle/product/11.1.0/db_1/logs'  scope=spfile

shutdown immediate;
startup;
show parameter UTL_FILE



execute dbms_logmnr_d.build(dictionary_filename=>'dict.ora',dictionary_location => '/u01/app/oracle/product/10.0.20/db_1/logs');

execute dbms_logmnr.add_logfile(LogFileName=>'/u01/app/oracle/oradata/jrtdb2/redo01.log', Options=>dbms_logmnr.new);
execute dbms_logmnr.add_logfile(LogFileName=>'/u01/app/oracle/oradata/jrtdb2/redo02.log',Options => dbms_logmnr.ADDFILE);




EXECUTE dbms_logmnr.start_logmnr(DictFileName=>'/u01/app/oracle/product/10.0.20/db_1/logs/dict.ora');
EXECUTE dbms_logmnr.start_logmnr(DictFileName=>'/u01/app/oracle/product/10.0.20/db_1/logs/dict.ora',StartTime=>to_date('2010-01-18 00:00:00','YYYY-MM-DD HH24:MI:SS'),EndTime => to_date('2010-01-18 23:59:59','YYYY-MM-DD HH24:MI:SS')); 


 select * from dict t where t.table_name like '%LOGMNR%'

 SELECT sql_redo FROM v$logmnr_contents WHERE username='jrtsch' AND TABLE_NAME='RESOURCES'


execute dbms_logmnr.start_logmnr(DictFileName=>'/u01/app/oracle/product/10.0.20/db_1/logs/dict.ora',StartTime=>to_date('2009-2-23 00:00:00','YYYY-MM-DD HH24:MI:SS'),EndTime=>to_date('2009-2-26 23:59:59','YYYY-MM-DD HH24:MI:SS')); 
ORA-01291: missing logfile

@$ORACLE_HOME/rdbms/admin/dbmslm.sql
@$ORACLE_HOME/rdbms/admin/dbmslmd.sql