Questions about redo log files and archive files

Source: Internet
Author: User
Author: Msnch Time: 02-10-03 07:57

Questions about redo log files and archive files

What is the difference between redo log files and archive files? What content is included in them? Which of the following shall prevail if you want to restore the log files? Now I have read a book that is fuzzy.

Author: Snowhite2000 Time: 02-10-03 08:58

Log File: Online redo log file?
Archive file: Archived log files?

Log Files (redo log groups) are used cyclically. If you have three groups, the original file will be overwritten once. If one is full, loop to the next (WRAP), and copy the full file to archived log file ).

Author: Msnch Time: 02-10-03

If a problem occurs in the database, which of the following statements shall prevail?

Author: Snowhite2000 Time: 02-10-03 10: 00

The more you raise the question, the more you snowball.

What is the starting point of your question? Backup and recovery?
What is the role of online redo log file? Records all database changes. The Oracle commit command writes all the log buffers to the redo log so that all changes will become permanent changes. After commit, your data file has not changed immediately. If your database is closed at this time, you may need to clear the database files by redo log when starting the next time.

Why archive? If you performed a full database backup last night, a database problem occurred this afternoon. You need a recover. When will you need a recover? If you do not have archived all log files, you can only restore it to the time you backed up last night. However, if your database breaks down, you have all archived since the backup last night and the redo log files before today, and the last online redo log file is also good, you can recover to point of failure.

You can read the rest of the books by yourself. Don't ask how to automatically archive log files.

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.