Home > Database > Oracle > body text

What are the oracle logs?

WBOY
Release: 2022-06-10 16:38:48
Original
6511 people have browsed it

oracle log: 1. Warning log, also known as "alert log" file; 2. Trace log, used to store seesion tracking information; 3. Audit log, used to store audit information; 4. redo Log, used to store change information of the database; 5. Archive log, used to store historical backup of redo logs.

What are the oracle logs?

The operating environment of this tutorial: Windows 10 system, Oracle version 12c, Dell G3 computer.

What are the oracle logs?

There are several types of oracle log files: warning log, trace log, audit log, redo log, archive log

  • Warning log:

is the alert log,

is set in the system initialization parameter file

show  parameter background_dump_dest
Copy after login
  • trace log:

generally contains seesion tracking information,

corresponds to the system initialization parameter file parameters

show parameter user_dump_dest
Copy after login
  • audit log:

Audit information,

corresponds to the system initialization parameter file parameter audit_file_dest, which corresponds to its location.

  • redo log:

Stores the change information of the database,

select member from v$logfile;member
Copy after login
  • Archived log:

Historical backup of redo log,

select * from v$parameter where name like 'log_archive_dest%';
Copy after login

Extended command:

select * from dba_users; View all users in the database

select * from v$logfile; View online log status;

select * from v$instance; View all instance information;

select * from v$dba_data_files;Data file table, you can view table space information

Recommended tutorial: "Oracle Video Tutorial"

The above is the detailed content of What are the oracle logs?. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!