Home > Database > Mysql Tutorial > Oracle logminer 使用简介

Oracle logminer 使用简介

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:15:04
Original
1078 people have browsed it

Oracle logminer 是用来分析归档日志的一个工具,我这里列出一个简单、高效的使用流程。

Oracle logminer 是用来分析归档日志的一个工具,,我这里列出一个简单、高效的使用流程。

1. 初始化参数配置

alter system set utl_file_dir='*' scope=both;

这需要重启才能生效。

SQL> show parameter utl_file_dir

NAME                                  TYPE

------------------------------------ --------------------------------

VALUE

------------------------------

utl_file_dir                          string

*

SQL>

2. 创建数据字典

EXECUTE dbms_logmnr_d.build('dictionary.ora','/u01/home/oracle/');

SQL> EXECUTE dbms_logmnr_d.build('dictionary.ora','/u01/home/oracle/');

PL/SQL procedure successfully completed.

SQL> host;

[oracle@rac1 ~]$ ls -ltr dictionary.ora

-rw-r--r-- 1 oracle oinstall 27267751 May   7 17:40 dictionary.ora

[oracle@rac1 ~]$

linux

Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template