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 資料庫,請參考: Upgrade guide to 11.2
12.1 資料庫,請參考: Upgrade guide to 12.1
12.2 資料庫,請參考: Upgrade guide to 12.2
18c 資料庫,請參考: Upgrade guide to 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 3_lf.zip For Windows: 23_crlf.zip 改進和新的檢查:
|
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 - 45_lf.zip For Windows - 45_crlf.zip
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版本中已經更改,詳情請查閱 12.2 Database Upgrade Guide |
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 - preupgrade_12.1.0.2.0_18_crlf.zip For non-windows platforms - preupgrade_12.1.0.2.0_18_lf.zip 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 - preupgrade_12.1.0.1.0_7_crlf.zip For all other platforms - preupgrade_12.1.0.1.0_7_lf.zip 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月 |
對於使用命令列手工執行預升級 utlu112i_11204_009.sql 對於使用DBUA 執行預升級 utlu112x_11204_009.sql 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: Upgrade guide to 11.2
For 12.1 databases see: Upgrade guide to 12.1
For 12.2 databases see: Upgrade guide to 12.2
For 18c database see: Upgrade guide to 18c
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: preupgrade_192_cbuild_1_lf.zip For Windows: preupgrade_12_cbuild_1_crlf.zip 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: preupgrade_181_cbuild_6_lf.zip For Windows: preupgrade_181_cbuild_6_crlf.zip 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 - preupgrade_12201_cbuild_020_lf.zip For Windows - preupgrade_12201_cbuild_020_crlf..zip 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 12.2 Database Upgrade Guide 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 -
preupgrade_12.1.0.2.0_18_crlf.zip
For non-windows platforms - preupgrade_12.1.0.2.0_18_lf.zip 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 - preupgrade_12.1.0.1.0_7_crlf.zip For all other platforms - preupgrade_12.1.0.1.0_7_lf.zip 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 utlu112i_11204_009.sql For preupgrades executed via DBUA utlu112x_11204_009.sql 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
|
-
Pre Upgrade Tool for 12.1.0.1 Windows (75.54 KB)
- Pre Upgrade Tool for 12.1.0.1 Unixes (74.99 KB)
- Pre Upgrade Tool for 12.1.0.2 Windows (103.78 KB)
- Pre Upgrade Tool for 12.1.0.2 Unixes (103.75 KB)
- Pre Upgrade Tool for 12.2.0.1 Windows (251.62 KB)
- Pre Upgrade Tool for 12.2.0.1 Unixes (250.86 KB)
- Pre Upgrade Tool for 18.1 Windows (288.82 KB)
- Pre Upgrade Tool for 18.1 Unixes (288.15 KB)
- Pre Upgrade Tool for 19 Windows (297.48 KB)
- Pre Upgrade Tool for 19 Unixes (296.79 KB)
- Pre Upgrade Tool for 10.2.0.5 (130.84 KB)
- Pre Upgrade Script for 11.1 (157.09 KB)
- Pre Upgrade Tool for 11.2.0.2 (229.23 KB)
- Pre Upgrade Tool for 11.2.0.3 (229.23 KB)
- Pre Upgrade Tool for 11.2.0.4 (229.23 KB)
- Pre Upgrade Tool for 11.2.0.4 DBUA (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寶典今日頭條號地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826 ........................................................................................................................ ● 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 ● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解 ● 版權所有,歡迎分享本文,轉載請保留出處 ........................................................................................................................ ● 小麥苗的微店 : https://weidian.com/s/793741433?wfr=c&ifr=shopdetail ● 小麥苗出版的資料庫類叢書 : 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升級文件大全Oracle
- oracle資料庫11.2.0.3升級到11.2.0.4Oracle資料庫
- 靜默方式安裝、升級oracle(三): 升級資料庫軟體及資料庫Oracle資料庫
- android資料庫如何進行版本升級?架構之資料庫框架升級Android資料庫架構框架
- EBS:Oracle 資料庫執行慢SQLOracle資料庫SQL
- Oracle資料庫升級或資料遷移的方法探討Oracle資料庫
- oracle資料庫升級的時候oracle universal installer has detected........Oracle資料庫
- 【資料庫升級】Oracle指令碼升級12c CDB to 19c CDB資料庫Oracle指令碼
- Oracle database 升級(文件)to 10.2.0.4 from 10.2.0.1OracleDatabase
- 自定義開發資料庫升級程式資料庫
- 文件智慧:通用文件預訓練模型與資料集,推動NLP落地升級模型
- Oracle 資料庫執行提示:ORA-00054Oracle資料庫
- 靜默方式安裝、升級oracle(二): 建立資料庫Oracle資料庫
- 【MOS】手動升級到資料庫 12c 版本1(12.1)的完整核對清單 (文件 ID 2047701.1)資料庫
- 資料庫升級之-Dataguard滾動升級資料庫
- 資料庫升級之-資料泵資料庫
- Oracle資料庫SQL語句執行過程Oracle資料庫SQL
- 微軟執行庫下載微軟
- Oracle 下載最新psu (Doc ID 2118136.2)Oracle
- 資料庫升級之-XTTS資料庫TTS
- 資料庫升級和工具資料庫
- APICloud 實現文件下載和預覽功能APICloud
- 小程式預載入資料實戰
- 1.2.10. 任務10:下載並安裝資料庫及資料庫更新資料庫
- Android 中的升級資料庫最佳方法實踐Android資料庫
- 實用!一鍵生成資料庫文件,堪稱資料庫界的Swagger資料庫Swagger
- 不起介面,用response file的方式升級資料庫資料庫
- IvorySQL3.0:基於PG16.0最新核心,實現相容Oracle資料庫再升級SQLOracle資料庫
- Windows升級到oracle 11g的異機物理升級文件(冷備)WindowsOracle
- Oracle資料庫關於SQL的執行計劃(轉)Oracle資料庫SQL
- 在 Kubernetes 中執行 Oracle 資料庫的新方法Oracle資料庫
- oracle下載安裝及PLSQL連線資料庫教程OracleSQL資料庫
- oracle資料庫資料字典應用Oracle資料庫
- Oracle DB 18c - 手動升級到 18c 的完整核對清單 (文件 ID 2469647.1)Oracle
- Oracle“並行執行”——監控檢視Oracle並行
- 13 使用SQL Apply 升級資料庫SQLAPP資料庫
- oracle查詢sql執行耗時、執行時間、sql_idOracleSQL
- iOS 資料庫升級資料遷移解決方案iOS資料庫