Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to quickly reconstruct control files by oracle

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you how oracle quickly rebuilds control files, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Add the following implicit parameters to the pfile parameter file to configure the implicit parameters:

_ allow_resetlogs_corruption=true

Start the database to the mount state:

Alter database backup controlfile to trace

If you look at the database alert log and find the corresponding trace file, you will have the command created below.

After shutting down, rebuild the control file.

STARTUP NOMOUNT

CREATE CONTROLFILE REUSE DATABASE "ORCL" RESETLOGS FORCE LOGGING NOARCHIVELOG

MAXLOGFILES 16

MAXLOGMEMBERS 3

MAXDATAFILES 100

MAXINSTANCES 8

MAXLOGHISTORY 292

LOGFILE

GROUP 1'/ u01 BLOCKSIZE BLOCKSIZE 50m BLOCKSIZE 512

GROUP 2'/ u01 BLOCKSIZE BLOCKSIZE 50m BLOCKSIZE 512

GROUP 3'/ u01 SIZE SIZE BLOCKSIZE 512

-- STANDBY LOGFILE

-- GROUP 4'/ u01 SIZE BLOCKSIZE BLOCKSIZE 512

-- GROUP 5'/ u01 SIZE BLOCKSIZE BLOCKSIZE 512

-- GROUP 6'/ u01 SIZE BLOCKSIZE BLOCKSIZE 512

DATAFILE

'/ u01UTRAGAPHERA oradata Universe orclUniverse system01.dbf'

'/ u01ActionApplax oradataUniverse orclandsysaux01.dbf'

'/ u01According to an oradata, an orclapundotbs01.dbf'

'/ u01UTRAULAGULARAPHERA oradataUS01.dbf'

'/ u01GUO1GULAGULAR appUniverse oradataUniverse orclUniverse gguser.dbf'

'/ u01UTRAULAGULARAPHERA oradataUniverse orclUniverse test1.dbf'

CHARACTER SET ZHS16GBK

The above is all the contents of the article "how to quickly rebuild the control file in oracle". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report