Use principle of group # In v $ log,

Source: Internet
Author: User

Use principle of group # In v $ log,
This article is an original article. For more information, see the source:

The CURRENT group # Is 4,5, 6SQL> select group #, status from v $ log; GROUP # STATUS ---------- -------------- 4 INACTIVE 5 CURRENT 6 INACTIVE and then execute the following statement: alter database add logfile ('/arch/redo/redo7.log') size 1024 M; alter database add logfile ('/arch/redo/redo8.log') size 1024 M; alter database add logfile ('/arch/redo/redo9.log') size 1024 M; alter database add logfile ('/arch/redo/redo10.log') size 1024 M; ALTER DATABAS E add logfile ('/arch/redo/redo11.log') size 1024 M; alter database add logfile ('/arch/redo/redo12.log') size 1024 M; then: SQL> select group #, status from v $ log; GROUP # STATUS ---------- ---------------- 1 UNUSED 2 UNUSED 3 UNUSED 4 INACTIVE 5 CURRENT 6 INACTIVE 7 UNUSED 8 UNUSED 9 UNUSEDredo group when added, the principle of group # is to select (reuse) the group # when it is free from 1. Note that group # Is a db-level ID, not an instance-level ID. This is different from the management of datafile: The datafile number is not reused.

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.