LogMiner
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: LogMiner

  1. #1
    Join Date
    Apr 2003
    Location
    Delhi
    Posts
    51

    LogMiner

    I am trying to run a query on a database where logminer is enabled and is being used by a real-time replication tool for data movement but it gives me the following error:-
    Select * from v$logmnr_contents;
    ERROR at line 1:
    ORA-01306: dbms_logmnr.start_logmnr() must be invoked before selecting from
    v$logmnr_contents

    Do I need to run the dbms_logmnr.start_logmnr
    for selecting data from v$logmnr_contents even though logminer is already enabled in the database and the real time processes by etl tool are running fine?
    regards
    nik

  2. #2
    Join Date
    Mar 2006
    Location
    India
    Posts
    1
    Hi, you have to add all online redo log files for your logminer session you want to query. To add your log file thorugh for 1st one
    exec dbms_logmnr.add_logfile(LogFileName => filename ,options => dbms_logmnr.new); and after that you can use dbms_logmnr.addfile.

    Thanks & Regards, Hardik

  3. #3
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: www.oracle-base.com
    My blog: www.oracle-base.com/blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width