Pre-Upgrade Utility---下載並執行Oracle資料庫預升級實用程式 (文件 ID 1577379.1)
如何下載並執行Oracle資料庫預升級實用程式 (文件 ID 1577379.1)
文件內容
目標 |
指令碼來源 |
解決方案 |
指令碼指導 |
下載並安裝說明 |
請參閱下表以確定您需要的pre-upgrade指令碼的版本。 這將取決於您要從哪個版本升級到哪個版本。 |
指令碼執行步驟 |
參考 |
適用於:
Oracle Database - Standard Edition - 版本 9.2.0.4 和更高版本
Oracle Database - Enterprise Edition - 版本 9.2.0.4 和更高版本
本文件所含資訊適用於所有平臺
目標
在升級前第一步需要做的是判定在升級過程中資料庫可能遇到的問題。
Oracle資料庫預升級實用程式可以在您資料庫正常執行時執行(不需要關閉),並生成一個需要在實際升級前評估的專案列表。在升級前進行評估和調整將有助於減少資料庫停機時間和升級過程中面臨的問題。
指令碼來源
下面可下載的預升級指令碼都是從Oracle資料庫發行版中獲得的。這些指令碼也可以在您計劃升級到的目標版本新安裝的$ORACLE_HOME/rdbms/admin路徑下找到。想要得到這個指令碼通常意味著您需要下載整個Oracle資料庫安裝包,解壓縮,把它從admin路徑放到別的路徑下。所以我們透過直接提供下載的方法使您的Oracle資料庫升級規劃更容易。
解決方案
指令碼指導
執行預升級指令碼無需停止或重啟資料庫。 它收集資料庫配置資訊,報告資料庫狀況,引數,設定等需要在升級前注意的資訊。
您必須具有DBA的許可權來成功執行指令碼。
如果預升級版本是12.1,資料庫不能在只讀模式下。 一些registry$表如果不存在,可能會被建立,升級表中可能會被插入相關記錄。 對於預升級版本是12.2或者更高版本,只要預升級目錄和軟體包在把資料庫設定成只讀模式前已被載入,資料庫就可以是隻讀模式。
您必須記住,相比您oracle home中原來的版本,這是一個新版本,因此您需要備份舊的版本並根據該MOS文件替換這些檔案。
下載並安裝說明
請參閱下表以確定您需要的pre-upgrade指令碼的版本。 這將取決於您要從哪個版本升級到哪個版本。
如果upgrade-to的版本是12.1.*,儲存該壓縮檔案到某個路徑,保證在連線upgrade-from的資料庫時它仍能被訪問,並解壓該檔案。
如果upgrade-to的版本是12.2或者更高版本, 則 儲存該檔案到您目標庫$ORACLE_HOME/rdbms/admin 目錄並解壓該檔案。
如果upgrade-to的版本是11.2.0.4或者之前的版本,複製下載的所有檔案到某個路徑,保證在連線upgrade-from的資料庫時它仍能被訪問。
指令碼執行步驟
要執行預升級工具本身,請參閱您要upgrade-to版本的Database Upgrade Guide。
11.2 資料庫,請參考:
12.1 資料庫,請參考:
12.2 資料庫,請參考:
18c 資料庫,請參考:
對於Pre-upgrade(12.1及更高版本)執行的完整清單檢查,請參考MOS 文件: 2380601.1
upgrade-to目標庫版本 |
原始版本 |
指令碼建立/日期 |
最新預升級工具及說明 |
---|---|---|---|
18c |
12.2.0.1 12.1.0.2 12.1.0.1 11.2.0.4 11.2.0.3 |
Build 3 2018年6月 |
For Unix: 2 For Windows: 改進和新的檢查:
|
12cR2 (12.2.0.1) |
12.1.0.2 12.1.0.1 11.2.0.4 11.2.0.3 |
Build 15 2018年6月 |
For unix - For Windows -
12.2.0.1 Cloud 版本(build 2)開始preupgrade.jar的主要變化:
- 增加UTF-8字符集功能。
- 增加了一個驗證APEX版本的檢查 - 修改檢查tempts_notempfile,應該考慮表空間組 - 將new_time_zones_exist的嚴重性更改為警告- 新增pga_aggregate_limit檢查 - 新增對非常大的臨時表空間組的支援 - 修復了對檢查TRGOWNER_NO_ADMNDBTRG上的ACTION的推薦查詢 - 在日誌檔案上新增列印預升級版本 - 新增了升級RMAN CATALOG的提醒
- 新增一個檢查來檢測資料庫是否使用2k / 4k db塊大小
- 修復了BS2000 系統(EBDIC)上的end-of-line問題。
- 包括修復錯誤 ORA-01426:numeric overflow **注意** - 12.2版本的下載說明已經更改,詳情請查閱本文中下載部分. - 使用方法在12.2版本中已經更改,詳情請查閱 |
12cR1 (12.1.0.2) |
12.1.0.1 11.2.0.4 11.2.0.3 11.2.0.2 11.1.0.7 10.2.0.5 |
Build 18 2018年3月 |
For Windows - For non-windows platforms - 12.1.0.2第一個版本後的變化
|
12cR1 (12.1.0.1) |
11.2.0.4 11.2.0.3 11.2.0.2 11.1.0.7 10.2.0.5 |
Build 7 2014年4月 |
For Windows - For all other platforms - 12.1.0.1版本開始的變化
|
11gR2 (11.2.0.4) |
11.2.0.3 11.2.0.2 11.2.0.1 11.1.0 10.2.0 10.1.0 9.2.0.8 |
Build 9 2014年5月 |
對於使用命令列手工執行預升級 對於使用DBUA 執行預升級 11.2.0.4版本開始的變化
|
11gR2 (11.2.0.3) |
11.2.0.2 11.2.0.1 11.1.0 10.2.0 10.1.0 9.2.0.8 |
Build 9 2014年5月 |
11.2.0.3版本開始的變化
|
11gR2 (11.2.0.2) |
11.2.0.1 11.1.0 10.2.0 10.1.0 9.2.0.8 |
Build 9 2014年5月 |
11.2.0.2版本開始的變化
|
11gR1 (11.1.0.7) |
11.1.0 10.2.0 10.1.0 9.2.0.8 9.2.0.7 9.2.0.6 9.2.0.5 9.2.0.4 |
Build 2 2010年12月 |
11.1.0.7版本開始的變化
|
10gR2 (10.2.0.5) |
10.2.0 10.1.0 9.2.0.8 9.2.0.7 9.2.0.6 9.2.0.5 9.2.0.4 |
Build 2 2010年12月
|
10.2.0.5版本開始的變化
|
How to Download and Run Oracle's Database Pre-Upgrade Utility (文件 ID 884522.1)
In this Document
Goal |
Origin of Script |
Solution |
Script Guidelines |
Download and installation Instructions |
See the table below to determine which version of the pre-upgrade script you need. It will depend on which version you are upgrading from, and which version you are upgrading to. |
Script Execution Steps |
References |
APPLIES TO:
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.
GOAL
One of the first steps that should be taken prior to an Oracle Database Upgrade is determining any issues the upgrade may present to your database.
Oracle Database Pre-Upgrade utility is executed on your existing database, while the database is running (no shutdown required) and provides a list of items which should be reviewed prior to the actual upgrade. Reviewing and making adjustments prior to actual database upgrade will usually reduce down time and can limit problems during the upgrade.
Origin of Script
The pre-upgrade scripts that are available for download below are shipped with each Oracle Database release. The scripts can also be found in the newly installed $ORACLE_HOME/rdbms/admin directory of the version you are planning to upgrade to. Getting a hold of the pre-upgrade script used to mean downloading the entire Oracle Database Release kit, unpacking it, and pulling it out of the admin directory. Allowing access to the script through this method will make the Oracle Database Upgrade planning easier.
SOLUTION
Script Guidelines
The pre-upgrade scripts can be executed on a database without the need to shutdown or restart the database. It gathers information about the database configuration and reports on conditions, parameters and settings which may need attention prior to upgrading to the new version.
You must have DBA privilege to execute the script successfully.
If the preupgrade version is 12.1, then the Database can not be in read-only mode. A few registry$ tables may be created, if they do not already exist, and some rows may be inserted into existing Upgrade tables. For preupgrade version 12.2 and upper the Database can be in read-only mode as long as the preupgrade directory and the package has been loaded before to set the database in that mode.
You must remember that this is a newer version than the one you have in your oracle home, so you need to backup the older version and replace the files from this MOS note.
Download and installation Instructions
See the table below to determine which version of the pre-upgrade script you need. It will depend on which version you are upgrading from, and which version you are upgrading to.
If the upgrade-to version is 12.1.*, then save the zipfile to a directory that will be accessible when you connect to your upgrade-from database and then unzip the file.
If the upgrade-to version is 12.2 or higher, then save the file to your target $ORACLE_HOME/rdbms/admin directory and then unzip the file.
If the upgrade-to version is 11.2.0.4 or earlier, then copy all of the download files to some directory that will be accessible when you connect to your upgrade-from database.
Note that in versions 12.1 and higher you can determine the c_build (current build) version of the preupgrade by using [grep|findstr] c_build to preupgrade_package.sql.
Script Execution Steps
To execute the preupgrade tool itself, see the Database Upgrade Guide for your upgrade-to version:
For 11.2. databases see:
For 12.1 databases see:
For 12.2 databases see:
For 18c database see:
For a complete list of checks executed by Pre-upgrade tool (versions 12.1 and higher), please see MOS note
2380601.1
Target Upgrade-To Version |
Upgrading From Version |
Script Build/Date |
Latest Preupgrade Tool and Description |
---|---|---|---|
19 RU 2 |
18 12.2.0.1 12.1.0.2 11.2.0.4 |
Build 1 March 13th 2019 |
For Unix: For Windows: Changes included in Build 1:
Improvements:
New checks added:
|
18c |
12.2.0.1 12.1.0.2 12.1.0.1 11.2.0.4 11.2.0.3 |
Build 6 December 10th. 2018 |
For Unix: For Windows: Improvements and new checks:
Changes included in Build 6
|
12cR2 (12.2.0.1) |
12.1.0.2 12.1.0.1 11.2.0.4 11.2.0.3 |
Build 20 February 2019 |
For unix - For Windows - Major changes for this preupgrade.jar version since 12.2.0.1 Cloud release (build 2):
- Added load only capabilities.
- Adds UTF-8 characterset capabilities.
- Adds a check to see if CONCURRENT STATISTICS are set when RESOURCE MANAGER IS OFF.
- Adds a check to validate APEX version. - Modifies check tempts_notempfile, it should also consider tablespace groups - Changes severity of new_time_zones_exist to warning - Adds pga_aggregate_limit check - Adds support for very large temporary tablespace groups. - Fixed recommended query for ACTION on check TRGOWNER_NO_ADMNDBTRG - Adds print preupgrade build version on log files. - Adds a reminder to upgrade RMAN CATALOG.
- Adds a check to detect if a database is using 2k/4k db block size
- Fixes end-of-line for BS2000 systems (EBDIC).
- Adds a fix for ORA-01426: numeric overflow - Adds a new check to validate if public xmlconcat synonym is present in the database.
- Adds a recycle bin management when dictionary statistics autofixup is run.
- Adds a fix to properly report tablespaces with autoextensible on
- Adds a properly reference gsm_pooladmin_role role.
February 2019: - Optimize query for depend_usr_tables and invalid_usr_tabledata checks - Limit the number of processes used by catcon on CDB - Fix issue when using -u and -p options **NOTE** - The download instructions for this 12.2 release have changed, please see the Downloading section in this document above for details. - The usage model has changed in 12.2 since previous releases, please see the for details. |
12cR1 (12.1.0.2) |
12.1.0.1 11.2.0.4 11.2.0.3 11.2.0.2 11.1.0.7 10.2.0.5 |
Build 18
March 2018 |
For Windows -
For non-windows platforms - Changes since initial release of 12.1.0.2
|
12cR1 (12.1.0.1) |
11.2.0.4 11.2.0.3 11.2.0.2 11.1.0.7 10.2.0.5 |
Build 7 April 2014 |
For Windows - For all other platforms - Changes since the release of 12.1.0.1
|
11gR2 (11.2.0.4) |
11.2.0.3 11.2.0.2 11.2.0.1 11.1.0 10.2.0 10.1.0 9.2.0.8 |
Build 9 May 2014 |
For preupgrades executed manually on command line For preupgrades executed via DBUA Changes since the release of 11.2.0.4
|
11gR2 (11.2.0.3) |
11.2.0.2 11.2.0.1 11.1.0 10.2.0 10.1.0 9.2.0.8 |
Build 9 May 2014 |
Changes since the release of 11.2.0.3
|
11gR2 (11.2.0.2) |
11.2.0.1 11.1.0 10.2.0 10.1.0 9.2.0.8 |
Build 9 May 2014 |
Changes since the release of 11.2.0.2
|
11gR1 (11.1.0.7) |
11.1.0 10.2.0 10.1.0 9.2.0.8 9.2.0.7 9.2.0.6 9.2.0.5 9.2.0.4 |
Build 2 December 2010 |
Changes since the release of 11.1.0.7
|
10gR2 (10.2.0.5) |
10.2.0 10.1.0 9.2.0.8 9.2.0.7 9.2.0.6 9.2.0.5 9.2.0.4 |
Build 2 December 2010
|
Changes since the release of 10.2.0.5
|
-
(75.54 KB)
- (74.99 KB)
- (103.78 KB)
- (103.75 KB)
- (251.62 KB)
- (250.86 KB)
- (288.82 KB)
- (288.15 KB)
- (297.48 KB)
- (296.79 KB)
- (130.84 KB)
- (157.09 KB)
- (229.23 KB)
- (229.23 KB)
- (229.23 KB)
- (229.23 KB)
About Me
........................................................................................................................ ● 本文作者:小麥苗,部分內容整理自網路,若有侵權請聯絡小麥苗刪除 ● 本文在itpub( http://blog.itpub.net/26736162 )、部落格園( http://www.cnblogs.com/lhrbest )和個人weixin公眾號( xiaomaimiaolhr )上有同步更新 ● 本文itpub地址: http://blog.itpub.net/26736162 ● 本文部落格園地址: http://www.cnblogs.com/lhrbest ● 本文pdf版、個人簡介及小麥苗雲盤地址: http://blog.itpub.net/26736162/viewspace-1624453/ ● 資料庫筆試面試題庫及解答: http://blog.itpub.net/26736162/viewspace-2134706/ ● DBA寶典今日頭條號地址: ........................................................................................................................ ● QQ群號: 230161599 (滿) 、618766405 ● weixin群:可加我weixin,我拉大家進群,非誠勿擾 ● 聯絡我請加QQ好友 ( 646634621 ) ,註明新增緣由 ● 於 2019-04-01 06:00 ~ 2019-04-31 24:00 在魔都完成 ● 最新修改時間:2019-03-01 06:00 ~ 2019-03-31 24:00 ● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解 ● 版權所有,歡迎分享本文,轉載請保留出處 ........................................................................................................................ ● 小麥苗的微店 : ● 小麥苗出版的資料庫類叢書 : http://blog.itpub.net/26736162/viewspace-2142121/ ● 小麥苗OCP、OCM、高可用網路班 : http://blog.itpub.net/26736162/viewspace-2148098/ ● 小麥苗騰訊課堂主頁 : https://lhr.ke.qq.com/ ........................................................................................................................ 使用 weixin客戶端 掃描下面的二維碼來關注小麥苗的weixin公眾號( xiaomaimiaolhr )及QQ群(DBA寶典)、新增小麥苗weixin, 學習最實用的資料庫技術。
........................................................................................................................ |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2640244/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何下載並執行Oracle資料庫預升級實用程式 (文件 ID 1577379.1)Oracle資料庫
- Oracle 資料庫升級Oracle資料庫
- android資料庫如何進行版本升級?架構之資料庫框架升級Android資料庫架構框架
- 連載三:Oracle升級文件大全Oracle
- Oracle 12c資料庫升級實戰Oracle資料庫
- 資料庫 升級/降級 相容性矩陣 (文件 ID 1577660.1)資料庫矩陣
- Oracle資料庫升級(轉發)Oracle資料庫
- Oracle 資料庫 升級為 RACOracle資料庫
- rac 升級crs 升級資料庫軟體,升級資料庫資料庫
- oracle資料庫升級11.2.0.3升級到11.2.0.4Oracle資料庫
- Oracle資料庫升級與補丁Oracle資料庫
- Oracle 資料庫升級注意事項Oracle資料庫
- 靜默方式安裝、升級oracle(三): 升級資料庫軟體及資料庫Oracle資料庫
- Android 中的升級資料庫最佳方法實踐Android資料庫
- 我的PB程式資料庫升級程式資料庫
- 資料庫升級資料庫
- ♀♀資料庫升級♀♀資料庫
- ORACLE資料庫升級詳細步驟Oracle資料庫
- Android ORM 框架:GreenDao 資料庫升級AndroidORM框架資料庫
- AndroidSqlite資料庫版本升級管理初探AndroidSQLite資料庫
- 文件智慧:通用文件預訓練模型與資料集,推動NLP落地升級模型
- 探索Oracle之資料庫升級一 升級補丁修復概述Oracle資料庫
- 微軟執行庫下載微軟
- 自定義開發資料庫升級程式資料庫
- oracle資料庫軟體下載Oracle資料庫
- Android版本升級同時Sqlite資料庫的升級及之前資料的保留AndroidSQLite資料庫
- oracle資料庫11.2.0.3升級到11.2.0.4Oracle資料庫
- ZT 升級和移植Oracle資料庫方法若干Oracle資料庫
- 資料庫的升級和降級[轉載wisdomone1 ]資料庫
- Android升級資料庫的最佳寫法Android資料庫
- 資料庫升級之-Dataguard滾動升級資料庫
- Android不使用第三方升級庫實現應用升級Android
- 資料庫升級之-資料泵資料庫
- Oracle資料庫並行機制Parallel ExecutionOracle資料庫並行Parallel
- Oracle資料庫異機升級(10.2.0.5 --> 11.2.0.4)Oracle資料庫
- oracle 資料庫從10.2.0.4升級到11.2.0.3Oracle資料庫
- Oracle資料庫升級前必要的準備工作Oracle資料庫
- 資料庫升級和工具資料庫