How to query oracle error log in linux

WBOY
Release: 2022-06-28 17:16:00
Original
4875 people have browsed it

Linux method of querying Oracle error logs: 1. Use the "show parameter background_dump_dest" command to obtain the directory of the error log, and query the error log through the directory; 2. Use the PID of the error prompt to fuzzy query the corresponding error log , the syntax is "find -name "*ora* error prompt PID*.trc"".

How to query oracle error log in linux

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

How to query the Oracle error log in Linux

1 View the error log directory through the command:

show parameter background_dump_dest
  /usr/oracle/app/diag/rdbms/orcl/orcl/trace
Copy after login

How to query oracle error log in linux

2 According to the PID of the error prompt: 3159, fuzzy query the corresponding error log

  find -name "*ora*3159*.trc"
  more orcl_ora_3159.trc
Copy after login

How to query oracle error log in linux

Expand knowledge:

Query the archive log

  select * from v$recovery_file_dest;
Copy after login

Delete archive log

How to query oracle error log in linux

Warning log

Query the full name of the warning log: find -name "alert*.log"

How to query oracle error log in linux

View the warning log content

How to query oracle error log in linux

Recommended learning: Linux video tutorial

The above is the detailed content of How to query oracle error log in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template