Oracle trace file

Source: Internet
Author: User

Oracle trace file 11g: Oracle alter file before 11g is in the bdump directory. Oracle 11g provides Alert logs in XML and traditional text formats. The location of the new oracle 11g log is determined by the Automatic Diagnostic Respository (ADR. You can use the new initialization parameter DIAGNOSTIC_DEST to control the location of the adr base. If the location of the initialization parameter is not set and the ORACLE_BASE environment variable is set, ORACLE_BASE is not set, then ORACLE_HOME/log shows the location of DIAGNOSTIC_DEST [SQL] SQL> show parameter DIAGNOSTIC_DEST; name type value types ----------- ----------------------- diagnostic_dest string/u01/app/oracle SQL> query the location of two types of logs to query the directory of the xml file [SQL] SQL> select value from v $ diag_info where name = 'diag Alert '; VALUE limit/u01/app/oracle/diag/rdbms/orcl/ORCL/alert query the directory of the text file [SQL] SQL> select value from v $ diag_info where name = 'diag Trace '; VALUE logging/u01/app/oracle/diag/rdbms/orcl/ORCL/trace can also query background_dump_dest to view oracle Text logs [SQL] SQL> sho parameter background_dump_dest NAME TYPE VALUE revoke ----------- -------------------- background_dump_dest string/u01/app/oracle/diag/rdbms/orcl/ORCL/trace or SQL> select value from v $ parameter where name = 'background _ dump_dest '; [SQL] VALUE ----------------------------------------------------------------------/u01/app/oracle/diag/rdbms/orcl/ORCL/trace

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.