Oracle 11g的日志文件(有点变化)从 Oracle 11g 开始,Oracle 以 XML 与传统的文本两种格式提供 Alert 日志。新的日志位置由 Au
Oracle 11g的日志文件(有点变化)
从 Oracle 11g 开始,,Oracle 以 XML 与传统的文本两种格式提供 Alert 日志。
新的日志位置由 Automatic Diagnostic Repository (ADR) 决定。可以通过新的初始化参数 DIAGNOSTIC_DEST 控制 ADR BASE 的位置。如果没有设定这个初始化参数的位置,而设置 ORACLE_BASE 环境变量的话,那么,如果没有设定 ORACLE_BASE , 则 ORACLE_HOME/log 即为 DIAGNOSTIC_DEST。
Alert Log 文件父目录的位置在:
ADR_BASE/diag/product_type{eg:rdbms}}/product_id{eg:11g}/instance_id
这个目录下有 alert/trace/bdump 之类的子目录。就是 Log 的具体位置了。alert 下是 XML 文件:
可在v$diag_info视图中用如下命令查到:
select * from v$diag_info where name ='Diag Alert';
select * from v$diag_info where name ='Diag Trace';
select * from v$diag_info;
如:
SQL> select value from v$diag_info where;
VALUE
--------------------------------------------------------------------------------
/u01/oracle/app/diag/rdbms/orcl/orcl/alert
SQL> select value from v$diag_info where;
VALUE
--------------------------------------------------------------------------------
/u01/oracle/app/diag/rdbms/orcl/orcl/trace
SQL> select value from v$parameter where;
VALUE
--------------------------------------------------------------------------------
/u01/oracle/app/diag/rdbms/orcl/orcl/trace
SQL> show parameter DIAGNOSTIC_DEST;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
diagnostic_dest string /u01/oracle/app

This article addresses MySQL's "unable to open shared library" error. The issue stems from MySQL's inability to locate necessary shared libraries (.so/.dll files). Solutions involve verifying library installation via the system's package m

This article explores optimizing MySQL memory usage in Docker. It discusses monitoring techniques (Docker stats, Performance Schema, external tools) and configuration strategies. These include Docker memory limits, swapping, and cgroups, alongside

The article discusses using MySQL's ALTER TABLE statement to modify tables, including adding/dropping columns, renaming tables/columns, and changing column data types.

This article compares installing MySQL on Linux directly versus using Podman containers, with/without phpMyAdmin. It details installation steps for each method, emphasizing Podman's advantages in isolation, portability, and reproducibility, but also

This article provides a comprehensive overview of SQLite, a self-contained, serverless relational database. It details SQLite's advantages (simplicity, portability, ease of use) and disadvantages (concurrency limitations, scalability challenges). C

Article discusses configuring SSL/TLS encryption for MySQL, including certificate generation and verification. Main issue is using self-signed certificates' security implications.[Character count: 159]

This guide demonstrates installing and managing multiple MySQL versions on macOS using Homebrew. It emphasizes using Homebrew to isolate installations, preventing conflicts. The article details installation, starting/stopping services, and best pra

Article discusses popular MySQL GUI tools like MySQL Workbench and phpMyAdmin, comparing their features and suitability for beginners and advanced users.[159 characters]


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Dreamweaver Mac version
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

SublimeText3 Linux new version
SublimeText3 Linux latest version
