SlideShare une entreprise Scribd logo
1  sur  26
A Recovery Case:control file lost Sidney Chen 2011-Apr-05
Control file is missing, alter database mount failed
SQL> startup ORACLE instance started. Total System Global Area 3559873248 bytes Fixed Size                   731872 bytes Variable Size            1493172224 bytes Database Buffers         2063597568 bytes Redo Buffers                2371584 bytes ORA-00205: error in identifying controlfile, check alert log for more info
confirm the control file are lost from alert log
Sun Apr  3 10:13:48 2011 Errors in file /export/home/icssprd/admin/bdump/icssprd_lgwr_326.trc: ORA-00210: cannot open the specified controlfile ORA-00202: controlfile: '/export/home/icssprd/data/data02/icssprd_ctrl01.ctl' ORA-27041: unable to open file HPUX-ia64 Error: 2: No such file or directory Additional information: 3 Sun Apr  3 10:13:48 2011 LGWR: terminating instance due to error 210 Instance terminated by LGWR, pid = 326 Mon Apr  4 10:15:50 2011
create control file Manually
CREATE CONTROLFILE REUSE DATABASE "ICSSPRD" RESETLOGS  ARCHIVELOG     MAXLOGFILES 48     MAXLOGMEMBERS 4     MAXDATAFILES 1024     MAXINSTANCES 1     MAXLOGHISTORY 4084 LOGFILE   GROUP 1 (     '/export/home/icssprd/data/data01/icssprd_redo_01a.rdo',     '/export/home/icssprd/data/data12/icssprd_redo_01b.rdo'   ) SIZE 1000M, 	. 	. 	.   GROUP 8 (     '/export/home/icssprd/data/data10/icssprd_redo_08a.rdo',     '/export/home/icssprd/data/data16/icssprd_redo_08b.rdo'   ) SIZE 1000M DATAFILE   '/export/home/icssprd/data/data01/icssprd_system_01.dbf',   '/export/home/icssprd/data/data14/icssprd_rbs_01.dbf', 	. 	. 	.   '/export/home/icssprd/data/data34/icssprd_css_ref_data_04.dbf',   '/export/home/icssprd/data/data34/icssprd_css_ref_indx_05.dbf' CHARACTER SET US7ASCII
"Alter database open resetlogs" failed due to ora-00600 2662
Mon Apr  4 12:27:07 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_15737.trc: ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Mon Apr  4 12:27:08 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_15737.trc: ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Mon Apr  4 12:27:08 2011 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 15737 ORA-1092 signalled during: Alter database open... Mon Apr  4 12:32:09 2011 USER: terminating instance due to error 1092 Instance terminated by USER, pid = 15737
ORA-600 [2662] "Block SCN is ahead of Current SCN" ORA-600 [2662] [a] [b] [c] [d] [e] ARGUMENTS: Arg [a]  Current SCN WRAP Arg [b]  Current SCN BASE Arg [c]  dependent SCN WRAP Arg [d]  dependent SCN BASE  Arg [e]  Where present this is the DBA where the dependent SCN came from.
ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Current SCN WRAP=8 Current SCN Base = 1439299167 dependent SCN WRAP=8 dependent SCN BASE= 1441267038 Current SCN Base < dependent SCN BASE
When scn base up to  4 * 1024 * 1024 * 1024  SCN Wrap = SCN Wrap + 1 SCN Base reset to 1
ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL N'; N = 1024*1024*1024
N=? dependent SCN WRAP=8 dependent SCN BASE= 1441267038 Set Current SCN WRAP =9 N = (8+1) * 4 = 36
Wrongly Set level=1 startup mount; ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 1'; ALTER DATABASE OPEN;
SQL> startup mount; ORACLE instance started. Total System Global Area 3559873248 bytes Fixed Size                   731872 bytes Variable Size            1493172224 bytes Database Buffers         2063597568 bytes Redo Buffers                2371584 bytes Database mounted. SQL> ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 1'; Session altered. SQL> ALTER DATABASE OPEN; ALTER DATABASE OPEN * ERROR at line 1: ORA-01113: file 1 needs media recovery ORA-01110: data file 1: '/export/home/icssprd/data/data01/icssprd_system_01.dbf'
Mon Apr  4 14:12:18 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_25729.trc: ORA-00600: internal error code, arguments: [2256], [0], [1073741824], [8], [1439319171], [], [], [] Mon Apr  4 14:12:19 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_25729.trc: ORA-00600: internal error code, arguments: [2256], [0], [1073741824], [8], [1439319171], [], [], [] Mon Apr  4 14:12:19 2011 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 25729 ORA-1092 signalled during: ALTER DATABASE OPEN...
1073741824 = 1024 * 1024 * 1024
Adjust LEVEL to 36 startup mount; ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 36'; ALTER DATABASE OPEN;
Errors in file /export/home/icssprd/admin/udump/icssprd_ora_6821.trc: ORA-00607: Internal error occurred while making a change to a data block ORA-00600: internal error code, arguments: [4194], [52], [33], [], [], [], [], [] Error 607 happened during db open, shutting down database USER: terminating instance due to error 607 Instance terminated by USER, pid = 6821 ORA-1092 signalled during: ALTER DATABASE OPEN...
Hidden Parameter _corrupted_rollback_segments ._corrupted_rollback_segments='rbs01','rbs02','rbs03','rbs04','rbs05','rbs06','rbs07','rbs08','rbs09','rbs10','rbs11','rbs12','rbs_batch1','rbs_batch2','rbs_batch3'
$ORACLE_HOME/dbs/initicssprd.ora rollback_segments      = (rbs01,rbs02,rbs03,rbs04,rbs05,rbs06,rbs07,rbs08,rbs09,rbs10,rbs11,rbs12,rbs_batch1,rbs_batch2,rbs_batch3)
If the undo management is auto undo_management         = auto
[Itanium] oracle@qadb01:/export/home/icssprd/data/data01> strings icssprd_system_01.dbf | grep _SYSSMU | cut -d $ -f 1 | sort -u _SYSSMU16 _SYSSMU17 _SYSSMU18 _SYSSMU19 _SYSSMU20 _SYSSMU21 _SYSSMU22 _SYSSMU23 _SYSSMU24 _SYSSMU25
  create new undo tablespace, swtch default undo tablespace, drop the obsolete undo tablespace
Reference Oracle Diag:如何处理ORA-600 2662错误 http://www.eygle.com/archives/2005/12/oracle_diagnostics_howto_deal_2662_error.html http://goo.gl/UobE7 https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=281429.1

Contenu connexe

Tendances

Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019Sandesh Rao
 
Install oracle database 12c software on windows
Install oracle database 12c software on windowsInstall oracle database 12c software on windows
Install oracle database 12c software on windowsBiju Thomas
 
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020Sandesh Rao
 
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...Marco Vigelini
 
Finding Evil In DNS Traffic
Finding  Evil In DNS TrafficFinding  Evil In DNS Traffic
Finding Evil In DNS Trafficreal_slacker007
 
Capturing, Analyzing, and Optimizing your SQL
Capturing, Analyzing, and Optimizing your SQLCapturing, Analyzing, and Optimizing your SQL
Capturing, Analyzing, and Optimizing your SQLPadraig O'Sullivan
 
Esm rel notes_v5.2
Esm rel notes_v5.2Esm rel notes_v5.2
Esm rel notes_v5.2Protect724
 
CV_Dao Xuan Thai_Eng
CV_Dao Xuan Thai_EngCV_Dao Xuan Thai_Eng
CV_Dao Xuan Thai_EngDao Xuan Thai
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)K Kumar Guduru
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cuzzal basak
 
Tde oracle customer_demo
Tde oracle customer_demoTde oracle customer_demo
Tde oracle customer_demoViaggio Italia
 
2017 10-oow-fma-application-containers-v01-final
2017 10-oow-fma-application-containers-v01-final2017 10-oow-fma-application-containers-v01-final
2017 10-oow-fma-application-containers-v01-finalMarkus Flechtner
 
Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4Mahamudul Hasan
 
Clase 09 03-2013
Clase 09 03-2013Clase 09 03-2013
Clase 09 03-2013sayajeff
 

Tendances (17)

Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
 
Install oracle database 12c software on windows
Install oracle database 12c software on windowsInstall oracle database 12c software on windows
Install oracle database 12c software on windows
 
12c installation
12c installation12c installation
12c installation
 
Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
 
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
 
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
 
Finding Evil In DNS Traffic
Finding  Evil In DNS TrafficFinding  Evil In DNS Traffic
Finding Evil In DNS Traffic
 
Capturing, Analyzing, and Optimizing your SQL
Capturing, Analyzing, and Optimizing your SQLCapturing, Analyzing, and Optimizing your SQL
Capturing, Analyzing, and Optimizing your SQL
 
Esm rel notes_v5.2
Esm rel notes_v5.2Esm rel notes_v5.2
Esm rel notes_v5.2
 
CV_Dao Xuan Thai_Eng
CV_Dao Xuan Thai_EngCV_Dao Xuan Thai_Eng
CV_Dao Xuan Thai_Eng
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12c
 
Hardening solaris
Hardening solarisHardening solaris
Hardening solaris
 
Tde oracle customer_demo
Tde oracle customer_demoTde oracle customer_demo
Tde oracle customer_demo
 
2017 10-oow-fma-application-containers-v01-final
2017 10-oow-fma-application-containers-v01-final2017 10-oow-fma-application-containers-v01-final
2017 10-oow-fma-application-containers-v01-final
 
Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4
 
Clase 09 03-2013
Clase 09 03-2013Clase 09 03-2013
Clase 09 03-2013
 

Similaire à Recovery case: All the Control file are lost

使用Prm恢复受损的oracle数据表几个例子
使用Prm恢复受损的oracle数据表几个例子使用Prm恢复受损的oracle数据表几个例子
使用Prm恢复受损的oracle数据表几个例子maclean liu
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in DataguardJason Arneil
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1Chien Chung Shen
 
Less04 instance
Less04 instanceLess04 instance
Less04 instanceImran Ali
 
Build a DataWarehouse for your logs with Python, AWS Athena and Glue
Build a DataWarehouse for your logs with Python, AWS Athena and GlueBuild a DataWarehouse for your logs with Python, AWS Athena and Glue
Build a DataWarehouse for your logs with Python, AWS Athena and GlueMaxym Kharchenko
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recoverysdrhr
 
br_test_lossof-datafile_10g.doc
br_test_lossof-datafile_10g.docbr_test_lossof-datafile_10g.doc
br_test_lossof-datafile_10g.docLucky Ally
 
Les 06 Perform Rec
Les 06 Perform RecLes 06 Perform Rec
Les 06 Perform Recvivaankumar
 
Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017Brendan Tierney
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gMaris Elsins
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationFrancisco Alvarez
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01Karam Abuataya
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11gfcamachob
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Kernel Training
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architectureMartin Berger
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACPaulo Fagundes
 

Similaire à Recovery case: All the Control file are lost (20)

使用Prm恢复受损的oracle数据表几个例子
使用Prm恢复受损的oracle数据表几个例子使用Prm恢复受损的oracle数据表几个例子
使用Prm恢复受损的oracle数据表几个例子
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
 
8i standby
8i standby8i standby
8i standby
 
Less04 instance
Less04 instanceLess04 instance
Less04 instance
 
Build a DataWarehouse for your logs with Python, AWS Athena and Glue
Build a DataWarehouse for your logs with Python, AWS Athena and GlueBuild a DataWarehouse for your logs with Python, AWS Athena and Glue
Build a DataWarehouse for your logs with Python, AWS Athena and Glue
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Less04 Instance
Less04 InstanceLess04 Instance
Less04 Instance
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recovery
 
br_test_lossof-datafile_10g.doc
br_test_lossof-datafile_10g.docbr_test_lossof-datafile_10g.doc
br_test_lossof-datafile_10g.doc
 
Les 06 Perform Rec
Les 06 Perform RecLes 06 Perform Rec
Les 06 Perform Rec
 
Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11g
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11g
 
Change DB Name
Change DB NameChange DB Name
Change DB Name
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architecture
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 

Dernier

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 

Dernier (20)

Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 

Recovery case: All the Control file are lost

  • 1. A Recovery Case:control file lost Sidney Chen 2011-Apr-05
  • 2. Control file is missing, alter database mount failed
  • 3. SQL> startup ORACLE instance started. Total System Global Area 3559873248 bytes Fixed Size 731872 bytes Variable Size 1493172224 bytes Database Buffers 2063597568 bytes Redo Buffers 2371584 bytes ORA-00205: error in identifying controlfile, check alert log for more info
  • 4. confirm the control file are lost from alert log
  • 5. Sun Apr 3 10:13:48 2011 Errors in file /export/home/icssprd/admin/bdump/icssprd_lgwr_326.trc: ORA-00210: cannot open the specified controlfile ORA-00202: controlfile: '/export/home/icssprd/data/data02/icssprd_ctrl01.ctl' ORA-27041: unable to open file HPUX-ia64 Error: 2: No such file or directory Additional information: 3 Sun Apr 3 10:13:48 2011 LGWR: terminating instance due to error 210 Instance terminated by LGWR, pid = 326 Mon Apr 4 10:15:50 2011
  • 7. CREATE CONTROLFILE REUSE DATABASE "ICSSPRD" RESETLOGS ARCHIVELOG MAXLOGFILES 48 MAXLOGMEMBERS 4 MAXDATAFILES 1024 MAXINSTANCES 1 MAXLOGHISTORY 4084 LOGFILE GROUP 1 ( '/export/home/icssprd/data/data01/icssprd_redo_01a.rdo', '/export/home/icssprd/data/data12/icssprd_redo_01b.rdo' ) SIZE 1000M, . . . GROUP 8 ( '/export/home/icssprd/data/data10/icssprd_redo_08a.rdo', '/export/home/icssprd/data/data16/icssprd_redo_08b.rdo' ) SIZE 1000M DATAFILE '/export/home/icssprd/data/data01/icssprd_system_01.dbf', '/export/home/icssprd/data/data14/icssprd_rbs_01.dbf', . . . '/export/home/icssprd/data/data34/icssprd_css_ref_data_04.dbf', '/export/home/icssprd/data/data34/icssprd_css_ref_indx_05.dbf' CHARACTER SET US7ASCII
  • 8. "Alter database open resetlogs" failed due to ora-00600 2662
  • 9. Mon Apr 4 12:27:07 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_15737.trc: ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Mon Apr 4 12:27:08 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_15737.trc: ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Mon Apr 4 12:27:08 2011 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 15737 ORA-1092 signalled during: Alter database open... Mon Apr 4 12:32:09 2011 USER: terminating instance due to error 1092 Instance terminated by USER, pid = 15737
  • 10. ORA-600 [2662] "Block SCN is ahead of Current SCN" ORA-600 [2662] [a] [b] [c] [d] [e] ARGUMENTS: Arg [a] Current SCN WRAP Arg [b] Current SCN BASE Arg [c] dependent SCN WRAP Arg [d] dependent SCN BASE Arg [e] Where present this is the DBA where the dependent SCN came from.
  • 11. ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Current SCN WRAP=8 Current SCN Base = 1439299167 dependent SCN WRAP=8 dependent SCN BASE= 1441267038 Current SCN Base < dependent SCN BASE
  • 12. When scn base up to 4 * 1024 * 1024 * 1024 SCN Wrap = SCN Wrap + 1 SCN Base reset to 1
  • 13. ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL N'; N = 1024*1024*1024
  • 14. N=? dependent SCN WRAP=8 dependent SCN BASE= 1441267038 Set Current SCN WRAP =9 N = (8+1) * 4 = 36
  • 15. Wrongly Set level=1 startup mount; ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 1'; ALTER DATABASE OPEN;
  • 16. SQL> startup mount; ORACLE instance started. Total System Global Area 3559873248 bytes Fixed Size 731872 bytes Variable Size 1493172224 bytes Database Buffers 2063597568 bytes Redo Buffers 2371584 bytes Database mounted. SQL> ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 1'; Session altered. SQL> ALTER DATABASE OPEN; ALTER DATABASE OPEN * ERROR at line 1: ORA-01113: file 1 needs media recovery ORA-01110: data file 1: '/export/home/icssprd/data/data01/icssprd_system_01.dbf'
  • 17. Mon Apr 4 14:12:18 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_25729.trc: ORA-00600: internal error code, arguments: [2256], [0], [1073741824], [8], [1439319171], [], [], [] Mon Apr 4 14:12:19 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_25729.trc: ORA-00600: internal error code, arguments: [2256], [0], [1073741824], [8], [1439319171], [], [], [] Mon Apr 4 14:12:19 2011 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 25729 ORA-1092 signalled during: ALTER DATABASE OPEN...
  • 18. 1073741824 = 1024 * 1024 * 1024
  • 19. Adjust LEVEL to 36 startup mount; ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 36'; ALTER DATABASE OPEN;
  • 20. Errors in file /export/home/icssprd/admin/udump/icssprd_ora_6821.trc: ORA-00607: Internal error occurred while making a change to a data block ORA-00600: internal error code, arguments: [4194], [52], [33], [], [], [], [], [] Error 607 happened during db open, shutting down database USER: terminating instance due to error 607 Instance terminated by USER, pid = 6821 ORA-1092 signalled during: ALTER DATABASE OPEN...
  • 21. Hidden Parameter _corrupted_rollback_segments ._corrupted_rollback_segments='rbs01','rbs02','rbs03','rbs04','rbs05','rbs06','rbs07','rbs08','rbs09','rbs10','rbs11','rbs12','rbs_batch1','rbs_batch2','rbs_batch3'
  • 22. $ORACLE_HOME/dbs/initicssprd.ora rollback_segments = (rbs01,rbs02,rbs03,rbs04,rbs05,rbs06,rbs07,rbs08,rbs09,rbs10,rbs11,rbs12,rbs_batch1,rbs_batch2,rbs_batch3)
  • 23. If the undo management is auto undo_management = auto
  • 24. [Itanium] oracle@qadb01:/export/home/icssprd/data/data01> strings icssprd_system_01.dbf | grep _SYSSMU | cut -d $ -f 1 | sort -u _SYSSMU16 _SYSSMU17 _SYSSMU18 _SYSSMU19 _SYSSMU20 _SYSSMU21 _SYSSMU22 _SYSSMU23 _SYSSMU24 _SYSSMU25
  • 25. create new undo tablespace, swtch default undo tablespace, drop the obsolete undo tablespace
  • 26. Reference Oracle Diag:如何处理ORA-600 2662错误 http://www.eygle.com/archives/2005/12/oracle_diagnostics_howto_deal_2662_error.html http://goo.gl/UobE7 https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=281429.1