Home  >  Article  >  Database  >  Oracle LogMiner 使用

Oracle LogMiner 使用

WBOY
WBOYOriginal
2016-06-07 15:44:52994browse

1. 添加要分析的日志文件 EXECUTE DBMS_LOGMNR.ADD_LOGFILE( -LOGFILENAME = '/home/duanbb/oracle/oradata/mydb/redo01.log', -OPTIONS = DBMS_LOGMNR.NEW);EXECUTE DBMS_LOGMNR.ADD_LOGFILE( -LOGFILENAME = '/home/duanbb/oracle/oradata/mydb/redo02.log

1. 添加要分析的日志文件

 

2.  启动日志分析

 

3. 查询:eg. 查询表 "MYDB1.TEST_USER"的操作记录

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn