Oracle DBA Study Notes-Control Files

Source: Internet
Author: User

Previous:Oracle DBA Study Notes-start and close Databases
Next article: Oracle DBA Study Notes-log files (using logminer to analyze logs)

1Control File

 Control File Information:
The size of the control file is related to the settings when the database is created.

(1)Database creation time information

(2)Database Name, table space name

(3)Related data file, redo log file name, location, online status information

(4)Redo log archival information

(5)Sequence Number of the current redo log(Log sequence number).

(6)CheckpointInformation

(7)Undo the start and end information of a segment

(8)RMAN(Recovery Manager).

Query Control File Information

V $ controlfile
V $ controlfile_record_section

Information contained:

Desc v $ controlfile

Name status

StatusIf it is null, the control file is normal.

Select * from V $ controlfile

Select * from V $ controlfile_record_section (InMountWhen the status is queried, The nomount status only uses the initialization parameter file and does not use the control file.)

 

How to prepare sub-Control Files(The database must be closed.)
The control file must be backed up in multiple ways on different disks.

A.DatabaseShutdown

B. Two Methods

(1)Alter system set

Control_files = 'd: \ oracle \ oradata \ work \ control01.ctl ', 'd: \ oracle \ oradata \ work \ control02.ctl', 'd: \ oracle \ oradata \ work \ control03.ctl ',

'E: \ control04.ctl'

(2)Directly modify the parameterized FileInit. ora (D: \ oracle \ admin \ work \ pfile)

C. Two Methods
(1) ManualCopyA control file.(You mustCloseStatus to be copied. Otherwise, some information may be lost.)
(2) SQL> host Copy D: \ oracle \ oradata \ work \ control01.ctl E: \ control04.ctl

 
D.Restart

 

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.