Dec 5, 2023

Oracle Database logs

 

Oracle Database logs

Oracle Database logs can provide valuable information about the database's health, performance, and any issues that might have occurred. Here are several ways to check Oracle Database logs:

Alert Log:

The Oracle Alert Log is a primary source of information about the database. It contains messages about database startup, shutdown, errors, and other critical events. You can check the alert log using SQL*Plus or another SQL client:

Connect to the database

SQL> CONNECT / AS SYSDBA;

When database are upp and running in this way we can check the alert logs.

Display the location of the alert log

SQL> SHOW PARAMETER  dump;





Now  open this  background_dump_dest  file:

cd  /u01/app/oracle/product/19.3.0.0/dbhome_1/rdbms/log




Now open this  alert_testdb.log  file


No comments:

Post a Comment

If you have any doubt or question, please contact us.