View Oracle database log storage location

Source: Internet
Author: User

1, by default, ORACLE log files are recorded in the $oracle/rdbms/log directory

    1. [Email protected] log]$ pwd
    2. /home/oracle/oracle/product/11.2.0/db_1/rdbms/log

Log file is (Alert_<oracle_sid>.log):

    1. [email protected] log]$ LL
    2. Total 848
    3. -rw-rw-r--1 AAA AAA 962 06-20 15:57 Alert_testdb.log

2, if it is not in the default location, you can query the log file location via sql:

  1. Sql> Show parameter Dump_dest
  2. NAME TYPE
  3. ------------------------------------ ----------------------
  4. VALUE
  5. ------------------------------
  6. Background_dump_dest string
  7. /home/oracle/oracle/admin/testdb/bdump
  8. Core_dump_dest string
  9. /home/oracle/oracle/admin/testdb/cdump
  10. User_dump_dest string
  11. /home/oracle/oracle/admin/testdb/udump

Where the value of Background_dump_dest is where the log file is stored

View Oracle database log storage location

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.