ORA-00704、ORA-39700處理
文章版權所有Jusin Hao(luckyfriends),支援原創,轉載請註明。
原來的資料庫11.2.0.1,現在安裝的是11.2.0.3SQL> alter database open;
alter database open
*
第 1 行出現錯誤:
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00704: bootstrap process failure
ORA-39700: database must be opened with UPGRADE option
程式 ID: 292
會話 ID: 191 序列號: 1
SQL> !oerr ora 39700
39700, 00000, "database must be opened with UPGRADE option"
// *Cause: A normal database open was attempted, but the database has not
// been upgraded to the current server version.
// *Action: Use the UPGRADE option when opening the database to run
// catupgrd.sql (for database upgrade), or to run catalog.sql
// and catproc.sql (after initial database creation).
說明需要執行這些資料字典指令碼,主要原因是升級以後資料字典的一些基表的內容修改了
C:\>sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on 星期四 11月 28 16:06:03 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
已連線到空閒例程。
SQL> startup upgrade
ORACLE 例程已經啟動。
Total System Global Area 860160000 bytes
Fixed Size 2260040 bytes
Variable Size 234881976 bytes
Database Buffers 616562688 bytes
Redo Buffers 6455296 bytes
資料庫裝載完畢。
資料庫已經開啟。
SQL>
方法1:
-- CATalog UPGraDe to the new release:
This script is to be used for upgrading an 8.1.7, 9.0.1, 9.2 or 10.1 database to the new release. This script provides a direct upgrade path from these releases to the new Oracle release.
SQL>@?/rdbms/admin/catupgrd.sql
---Creates data dictionary views.重新編譯一下一些無效的物件
SQL>@?/rdbms/admin/utlrp.sql
方法2:
--Creates data dictionary views.
SQL>@?/rdbms/admin/catalog.sql
----Creates data dictionary views for types, stored procedures,
SQL>@?/rdbms/admin/catproc.sql
SQL>shutdown immediate
SQL>startup
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14710393/viewspace-1082944/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle案例04——ORA-39700: database must be opened with UPGRADE optionOracleDatabase
- 多對一處理 和一對多處理的處理
- JSP 異常處理如何處理?JS
- 模板處理
- 平滑處理
- 字串處理字串
- 事件處理事件
- Python錯誤處理和異常處理(二)Python
- APM RUEI processor處理程式hang死處理方法
- Python資料處理(二):處理 Excel 資料PythonExcel
- Python影像處理丨5種影像處理特效Python特效
- webgl 影像處理2---影像畫素處理Web
- 【故障處理】ORA-600:[13013],[5001]故障處理
- Apache Beam,批處理和流式處理的融合!Apache
- Python 影像處理 OpenCV (6):影像的閾值處理PythonOpenCV
- Python 影像處理 OpenCV (7):影像平滑(濾波)處理PythonOpenCV
- rust學習十、異常處理(錯誤處理)Rust
- C#基礎之前處理器,異常處理C#
- Python處理JSONPythonJSON
- Java處理emojiJava
- React事件處理React事件
- 影像預處理
- VideoView全屏處理IDEView
- golang處理signalGolang
- TOML 配置處理TOML
- Oracle SQL處理OracleSQL
- linux故障處理Linux
- vue事件處理Vue事件
- python切片處理Python
- iframe高度處理
- Freemarket模板處理
- 前端Cookie處理前端Cookie
- 異常處理
- redis雪崩處理Redis
- Streams 流處理
- 批處理概述
- vue路由處理Vue路由
- 後臺處理
- 資料處理