[重慶思莊每日技術分享]-重建 oracle Bootstrap Indexes
How to Create/Rebuild Bootstrap Indexes (文件 ID 1587581.1)
Symptoms
The Following Indexes are Missing after Upgrade from 10gR2 to 11gR2:
SYS.I_OBJ1
SYS.I_OBJ2
SYS.I_OBJ3
SYS.I_OBJ4
SYS.I_OBJ5
SYS.I_USER1
SYS.I_USER2
This is Causing Some Data Dictionary to be Extremely Slow after the Upgrade .
Also Trying to Run Script dcore.bsq to recreate these objects gives the following Error :
ERROR at line 1:
ORA-00701: object necessary for warmstarting database cannot be altered
Also all DBA_REGISTRY components are is VALID
Changes
Upgrade from 10gR2 to 11gR2
Cause
The Database Instance Crashed for some reason during running the Upgrade Scripts ,
which Caused some upgrade steps to be missing .
Solution
1- Take the backup of the database .
2- start the database in upgrade mode , then execute the utlmmig.sql script.
$sqlplus "/as sysdba"
SQL> shutdown immediate
SQL> startup upgrade
SQL> ALTER SESSION SET NLS_LENGTH_SEMANTICS = BYTE;
SQL> @?/rdbms/admin/utlmmig.sql
Note
: the same steps can be used to recreate the indexes , this can be
confirmed by checking the LAST_DDL_TIME value in dba_objects before and
after executing the above action plan :
for example : select LAST_DDL_TIME from dba_objects where OBJECT_NAME='I_OBJ4';
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69950318/viewspace-2854271/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [重慶思莊每日技術分享]-重建LOB欄位上的IndexIndex
- [重慶思莊每日技術分享]-oracle 12c透明加密Oracle加密
- [重慶思莊每日技術分享]-Redhat Linux 6.5安裝ORACLE ASMLIBRedhatLinuxOracleASM
- [重慶思莊每日技術分享]-oracle ins,INS-32027 during Oracle 12 upgradeOracle
- [重慶思莊每日技術分享]-Oracle expdp ORA-01775: looping chain of synonymsOracleOOPAI
- [重慶思莊每日技術分享]-asynch descriptor resize等待事件事件
- [重慶思莊每日技術分享]-psu報錯“CheckActiveFilesAndExecutables” failedAI
- [重慶思莊每日技術分享]-free buffer waits 等待事件AI事件
- [重慶思莊每日技術分享]-ORACLE 19C 實現不管大小寫Oracle
- [重慶思莊每日技術分享]-安裝GI時報錯“Oracle Restart Integrity”OracleREST
- [重慶思莊每日技術分享]-PSU實施異常unable to get oracle owner forOracle
- [重慶思莊每日技術分享]-ora-12592包錯誤
- [重慶思莊每日技術分享]-expdp按日期匯出表
- [重慶思莊每日技術分享]-$ORACLE_HOME/OPatch/ocm/bin/emocmrsp 不再有了Oracle
- [重慶思莊每日技術分享]-ORACLE 12C 新功能 max_idle_timeOracle
- [重慶思莊每日技術分享]-控制檔案自動備份
- [重慶思莊每日技術分享]-清除控制檔案的資訊
- [重慶思莊每日技術分享]-oracle 19c 建立快照報錯:ORA-65227Oracle
- [重慶思莊每日技術分享]-11G 打補丁遇到:unable to get oracle owner forOracle
- [重慶思莊每日技術分享]-安裝oracle19c時報錯DBT-50000Oracle
- [重慶思莊每日技術分享]-ORACLE19C UNDO共享模式轉換為本地模式Oracle模式
- [重慶思莊每日技術分享]-ORA-16525 dg broker不可用
- [重慶思莊每日技術分享]-監聽的靜默配置安裝
- [重慶思莊每日技術分享]-ORACLE 11G以上版本開啟追加日誌的命令Oracle
- [重慶思莊每日技術分享]-ORACLE19c刪除EM配置資訊的指令碼Oracle指令碼
- [重慶思莊每日技術分享]-ORA-1142 signalled during: ALTER DATABASE END BACKUPDatabase
- [重慶思莊每日技術分享]-ORA-16018 異常處理記錄
- [重慶思莊每日技術分享]-如何禁止普通使用者使用crontab 命令?
- [重慶思莊每日技術分享]-執行DROP USER ... CASCADE操作刪除很慢
- [重慶思莊每日技術分享]-local_listener導致登入異常
- [重慶思莊每日技術分享]-閃回表時報錯ORA-38305
- [重慶思莊每日技術分享]-oracle12c新特性 去重統計函式APPROX_COUNT_DISTINCTOracle函式APP
- [重慶思莊每日技術分享]-安裝oracle12C RAC時可跳過gimr安裝Oracle
- [重慶思莊每日技術分享]-Windows手動離線安裝netframework3.5WindowsFramework
- [重慶思莊每日技術分享]-備庫使用RMAN獲得歸檔日誌
- [重慶思莊每日技術分享]-ORACLE 19C資料庫啟動後,無監聽服務Oracle資料庫
- [重慶思莊每日技術分享]-告警日誌中出現ORA-48132 ORA-48170
- [重慶思莊每日技術分享]-RAC 一節點Listener狀態為Not All Endpoints Registered