Archivelog
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Archivelog

  1. #1
    Join Date
    Jan 2003
    Posts
    35

    Archivelog

    Hi all,

    Database: 8.1.7.4
    Sun Solaris OS

    Is there a way to read the contents of an archivelog?

    Regards

  2. #2
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938

    Re: Archivelog

    YES. With Logminer.
    Oracle Certified Master
    Oracle Certified Professional 6i,8i,9i,10g,11g
    email: ocp_9i@yahoo.com

  3. #3
    Join Date
    Jan 2003
    Posts
    35
    When running the dbms_logmnr_d.build I'm getting the below error:

    ERROR at line 1:
    ORA-06532: Subscript outside of limit
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 793
    ORA-06512: at line 1


    Any help?

  4. #4
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    Originally posted by krw
    When running the dbms_logmnr_d.build I'm getting the below error:

    ERROR at line 1:
    ORA-06532: Subscript outside of limit
    ORA-06512: at "SYS.DBMS_LOGMNR_D", line 793
    ORA-06512: at line 1


    Any help?
    Wow, you learn quickly :-) Took you few minutes to start setting up LOGMINER.

    From Metalink:

    1. Edit the file "dbmslmd.sql" located in the "$ORACLE_HOME/rdbms/admin"

    directory.

    Change the line:

    TYPE col_desc_array IS VARRAY(513) OF col_description;

    to

    TYPE col_desc_array IS VARRAY(700) OF col_description;

    Save the file.

    2. Run the newly modified script:

    SQLPLUS> Connect internal

    SQLPLUS> @$ORACLE_HOME/rdbms/admin/dbmslmd.sql

    3. Recompile the package body DBMS_LOGMNR_D:

    SQLPLUS> alter package DBMS_LOGMNR_D compile body;
    Oracle Certified Master
    Oracle Certified Professional 6i,8i,9i,10g,11g
    email: ocp_9i@yahoo.com

  5. #5
    Join Date
    Jan 2003
    Posts
    35
    Thanks Julian.

    I also found this on metalink and it worked!

    Thanks again!

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