Your SlideShare is downloading. ×
0
Log miner in oracle.ppt
Log miner in oracle.ppt
Log miner in oracle.ppt
Log miner in oracle.ppt
Log miner in oracle.ppt
Log miner in oracle.ppt
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Log miner in oracle.ppt

137

Published on

Log miner in DBA

Log miner in DBA

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
137
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Log Miner In Oracle
  • 2. Benifits • Pin Pointing (xtional errors) • Auditing • Determining what actions you would have to take to perform • Performance tuning and capacity planning • Performing postauditing
  • 3. Sample Configuration
  • 4. Requirements • Source and mining database • Both the source database and the mining database must be running on the same hardware platform. • The mining database can be the same as, or completely separate from, the source database. • The mining database must run the same version or a later version of the Oracle Database software as the source database. • The mining database must use the same character set (or a superset of the character set) used by the source database.
  • 5. • LogMiner dictionary • All redo log files
  • 6. Directing LogMiner Operations and Retrieving Data of Interest • • • • • • • • • • • • You direct LogMiner operations using the DBMS_LOGMNR and DBMS_LOGMNR_D PL/SQL packages, and retrieve data of interest using the V$LOGMNR_CONTENTS view, as follows: Specify a LogMiner dictionary. Use the DBMS_LOGMNR_D.BUILD procedure or specify the dictionary when you start LogMiner (in Step 3), or both, depending on the type of dictionary you plan to use. Specify a list of redo log files for analysis. Use the DBMS_LOGMNR.ADD_LOGFILE procedure, or direct LogMiner to create a list of log files for analysis automatically when you start LogMiner (in Step 3). Start LogMiner. Use the DBMS_LOGMNR.START_LOGMNR procedure. Request the redo data of interest. Query the V$LOGMNR_CONTENTS view. (You must have the SELECT ANY TRANSACTION privilege to query this view. Per email from Diana Lorentz/Doug Voss on 3/16/05) End the LogMiner session. Use the DBMS_LOGMNR.END_LOGMNR procedure. You must have been granted the EXECUTE_CATALOG_ROLE role to use the LogMiner PL/SQL packages and to query the V$LOGMNR_CONTENTS view.

×