Oracle Redo Management

Source: Internet
Author: User

1. Classification

Several types of log files in Oracle

    • Redo log files–> Online redo log

    • Archive Log files–> Archive logs

    • Alert Log files–> Alarm logs

    • Trace files–> trace log

    • User_dump_dest–> User trace log

    • Backupground_dump_dest–> Process trace Log

2. Operation

View Redo Groups

SELECT group#,sequence#,members,bytes,status,archived FROM v$log;

View details of members within a redo group
select * from v$logfile
Add Group

alter  database add  logfile group 4 (‘/opt/oradata/orcl/redo04.log‘) size 52428800;

Delete a group

alter database drop logfile group 4;

Add Member
““
ALTER DATABASE ADD LOGFILE MEMBER '/opt/oradata/orcl/redo04a.log ' to GROUP 4;

警告日志

SELECT * from V$diag_info;
"'

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Oracle Redo Management

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.