startup migrate、startup upgrade區別以及Oracle打補丁集文件(轉)
startup migrate、startup upgrade區別以及Oracle打補丁集文件(轉)
startup migrate
=> Used to upgrade a database till 9i.
See the step 11 from the 9.2 manual upgrade guide :
=> Used to downgrade a database till 9i.
See the step 5 from the 9.2 downgrade guide :
=> Used to downgrade a database since 10g.
See the step 18 from the 10.2 downgrade guide :
startup upgrade
=> Used to upgrade a database since 10g.
See the step 7 from the 10.2 manual upgrade guide :
startup migrate、startup upgrade 區別
you can downgrade db using startup migrate since 10g.
you can upgrade db using startup upgrade since 10g.
you can upgrade/downgrade db using startup migrate till 9i.
在9i,無論升級/降級 資料庫都是startup migrate
10g後增加了upgrade引數,升級可直接用startup upgrade,降級仍是startup migrate.
--打完patch(OUI升級,中間需要用root執行一個指令碼)後,重建資料字典檢視指令碼catpatch.sql
為了保證系統的的資料詞典的完整性和有效性,最好的打patch後在migrate狀態下執行catpatch.sql
sql> shutdown immediate
sql> startup migrate (10g為startup upgrade)
sql> @?/rdbms/admin/catpatch.sql (10g為@?/rdbms/admin/catupgrd.sql )
sql> shutdown immediate
sql> startup
為加快速度,可臨時調大這2個引數:
show parameter shared_pool_size
show parameter large_pool_size
重建完資料字典檢視後的提示
DOC>#######################################################################
DOC>#######################################################################
DOC>
DOC> The above PL/SQL lists the SERVER components in the upgraded
DOC> database, along with their current version and status.
DOC>
DOC> Please review the status and version columns and look for
DOC> any errors in the spool log file. If there are errors in the spool
DOC> file, or any components are not VALID or not the current version,
DOC> consult the Oracle Database Upgrade Guide for troubleshooting
DOC> recommendations.
DOC>
DOC> Next shutdown immediate, restart for normal operation, and then
DOC> run utlrp.sql to recompile any invalid application objects.
DOC>
DOC>#######################################################################
DOC>#######################################################################
--執行完catpatch.sql,沒有錯誤後,重啟資料庫,再編譯無效物件,指令碼utlrp.sql
$ sqlplus '/as sysdba' @?/rdbms/admin/utlrp.sql
utlrp.sql指令碼可以在資料庫執行的狀態下執行以編譯、資料庫中的invalid物件.
oracle建議在對資料庫進行遷移、升級、降級後都執行一遍utlrp.sql以編譯無效物件。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29446986/viewspace-1694296/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- startup,startup mount,startup nomount之間的區別
- Oracle 資料庫啟動 startup和startup force的區別Oracle資料庫
- startup mount與startup restrict mount有何區別REST
- 打Oracle最新CPU patch與打臨時補丁的區別Oracle
- Oracle shutdown and startupOracle
- 給Oracle資料庫打補丁(轉)Oracle資料庫
- oracle打補丁回顧Oracle
- Oracle EBS中打補丁Oracle
- ORACLE RAC的全自動 打補丁標準化文件Oracle
- oracle-startup過程Oracle
- Oracle startup mount exclusive作用Oracle
- 使用OPatch給Oracle打補丁Oracle
- Oracle補丁集查詢Oracle
- oracle startup(nomount mount open restrict)OracleREST
- ORACLE打補丁的方法和案例Oracle
- ORACLE11G DG打補丁Oracle
- Oracle資料庫打補丁方法Oracle資料庫
- oracle 小補丁能全部打嗎?Oracle
- Oracle補丁集的補丁號Patch ID/Number速查Oracle
- After failed upgrade, startup fails on ORA-00704 [ID 1345417.1]AI
- Oracle Proactive補丁集介紹Oracle
- 12. Oracle版本、補丁及升級——12.2. 補丁及補丁集Oracle
- 【opatch】Oracle打補丁工具opatch簡介Oracle
- 在windows上打Oracle的CPU補丁WindowsOracle
- STARTUP FORCE 理解
- 【UP_ORACLE】如何給Oracle DG打補丁(二)備庫安裝補丁步驟Oracle
- 【UP_ORACLE】如何給Oracle DG打補丁(三)主庫安裝補丁步驟Oracle
- Oracle Database常用補丁集Patch號OracleDatabase
- Oracle Automatic Startup and Shutdown in Linux platformOracleLinuxPlatform
- oracle patch補丁型別typeOracle型別
- Oracle RAC 19.3打19.5.1 RU補丁Oracle
- Oracle Goldengate 12c打pus補丁OracleGo
- 到底打還是不打補丁:安裝第三方補丁(轉)
- 【MOS】Top 5 Grid Infrastructure Startup Issues (文件 ID 1368382.1)ASTStruct
- 怎樣為linux核心打補丁(轉)Linux
- MySQL Server Startup ScriptMySqlServer
- Disable the automatic startup of the Oracle Clusterware (CRS|HAS) softwareOracle
- Oracle 啟動例程 STARTUP引數說明Oracle