Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. Oracle: remove large alert / trace files

    Oracle: remove large alert / trace files

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 21

    Problem Symptoms:
    The following Oracle directories are very large
    - /exlibris/app/oracle/diag/rdbms/aleph21/aleph21/alert/ (38 GB, XML-Dateien)
    - /exlibris/app/oracle/diag/rdbms/aleph21/aleph21/trace/ (9,7 GB, trc, trm, log-Dateien)

    1. Is it possible to delete files from these directories?
    2.Can we configure the directories in a way that there is a maximum limit?

    Cause:


    Resolution:
    Oracle's writes messages and errors when applicable on daily database operations to the alert.log and points to trace files and dump files for more details.

    Q: Can the Oracle logs in these directories be deleted?
    A: It is possible to delete or rename the alert.log. It is advised to keep certain information for debugging / investigation purposes.
    You can automate the deletion of the logs by running script every period of time (daily / weekly / monthly) keeping only the latest (day / week / month) files/Information.
    Oracle recreates a new alert.log when it is not found (deleted or renamed).
    Also, it is safe move / rename trace file

    Q: Is it possible to restrict the directories to a specific size?
    A: MAX_DUMP_FILE_SIZE specifies the maximum size of trace files. You can change this limit.
    to see the current size:
    SQL> show parameter max_dump_file_size

    to change the current size:
    SQL> alter system set max_dump_file_size='200m';

    The size of the alert log is unlimited and can be deleted / renamed periodically.

    Category: System Management (500)


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Oracle: "fetch znnn" & "variable not in select list"; "Libraries to be upgraded"
      • Oracle: update_cursor z66, update_cursor1 z52, io_z34_write; old log written to
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 21
      2. contype:kba
      3. Prod:Aleph
      4. System Management (500)
      5. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved