Under normal circumstances, you can query the data dictionary view and dynamic view to obtain information related to the Oracle process during database operation. However, Oracle faults
Under normal circumstances, you can query the data dictionary view and dynamic view to obtain information related to the Oracle process during database operation. However, Oracle faults
Trace file:
Each service process and background process can write some special information into the corresponding operating system file during the running process. This operating system file is called a tracking file.
Each service process and background process has a corresponding trace file. When a process discovers an internal error, it records the corresponding error information in its trace file, DBAs can check the trace file to locate the fault.
Warning file:
The name is usually Alert. LOG plain text file
The warning file is also known as the warning log. It is a special tracking file that records DBA-level management operations in the database and internal error information of the instance.
It is also called a warning log.
Storage of Trace files and warning files:
BACKGROUND_DEMP_DEST: This initialization parameter specifies the storage location of the trace file and warning file of the background process,
The default location is Oracle_BASE \ admin \ SID \ bdump.
USER_DUMP_DEST: This initialization parameter file specifies the storage location of the trace file of the service process.
Because service processes serve user processes, user session behavior is recorded in the service process trace file.
Default location: ORACLE_BASE \ admin \ SID \ udump
Under normal circumstances, you can query the data dictionary view and dynamic view to obtain information related to the Oracle process during database operation. However, when Oracle fails, neither the data dictionary view nor the dynamic performance view can be used. In this case, you can query information about Oracle instances and processes by tracking files and warning logs, to find and troubleshoot faults.
,