Oralce RU 安裝
資料庫版本:Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
RU,RUR 下載路徑:Database 12.2.0.1 Proactive Patch Information (文件 ID 2285557.1)
Release Date | Version | Download Link | Included in Windows Bundle |
---|---|---|---|
17-Jul-2018 | 12.2.0.1.180717 (Jul 2018) Database Release Update | 12.2.0.1.180717 WIN DB BP | |
17-Apr-2018 | 12.2.0.1.180417 (Apr 2018) Database Release Update | 12.2.0.1.180417 WIN DB BP | |
16-Jan-2018 | 12.2.0.1.180116 (Jan 2018) Database Release Update | 12.2.0.1.180116 WIN DB BP | |
17-Oct-2017 | 12.2.0.1.171017 (Oct 2017) Database Release Update | 12.2.0.1.171017 WIN DB BP | |
14-Aug-2017 | 12.2.0.1.170814 (Jul 2017) Database Release Update | 12.2.0.1.170814 WIN DB BP | |
18-Jul-2017 | 12.2.0.1.170718 (Jul 2017) Database Release Update | 12.2.0.1.170718 WIN DB BP |
本次安裝RU版本為: ,單機環境。
1,解壓RU
[oracle@prod04 ~]$ unzip p26123830_122010_Linux-x86-64.zip
Archive: p26123830_122010_Linux-x86-64.zip
..............
..............
[oracle@prod04 ~]$ cd 26123830/
[oracle@prod04 26123830]$ ls
etc files README.html README.txt
2,關閉資料庫和,監聽程式。
3,補丁安裝
[oracle@prod04 26123830]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/opatch apply
Oracle Interim Patch Installer version 12.2.0.1.6
Copyright (c) 2018, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/12.2.0/dbhome_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/12.2.0/dbhome_1/oraInst.loc
OPatch version : 12.2.0.1.6
OUI version : 12.2.0.1.4
Log file location : /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-08-06_13-04-12PM_1.log
Verifying environment and performing prerequisite checks...
OPatch continues with these patches: 26123830
Do you want to proceed? [y|n]
y
User Responded with: Y
All checks passed.
Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
(Oracle Home = '/u01/app/oracle/product/12.2.0/dbhome_1')
Is the local system ready for patching? [y|n]
y
User Responded with: Y
Backing up files...
Applying interim patch '26123830' to OH '/u01/app/oracle/product/12.2.0/dbhome_1'
Patching component oracle.oracore.rsf, 12.2.0.1.0...
Patching component oracle.ctx, 12.2.0.1.0...
Patching component oracle.rdbms.deconfig, 12.2.0.1.0...
Patching component oracle.rdbms.rsf, 12.2.0.1.0...
Patching component oracle.rdbms.rman, 12.2.0.1.0...
Patching component oracle.rdbms, 12.2.0.1.0...
Patching component oracle.rdbms.util, 12.2.0.1.0...
Patching component oracle.rdbms.dbscripts, 12.2.0.1.0...
Patching component oracle.tfa, 12.2.0.1.0...
Patching component oracle.rdbms.rsf.ic, 12.2.0.1.0...
Patch 26123830 successfully applied.
Log file location: /u01/app/oracle/product/12.2.0/dbhome_1/cfgtoollogs/opatch/opatch2018-08-06_13-04-12PM_1.log
OPatch succeeded.
5,啟動資料庫(
Single/Multitenant (CDB/PDB) DB
),並且應用補丁。
SQL> startup
ORACLE instance started.
Total System Global Area 1845493760 bytes
Fixed Size 8793976 bytes
Variable Size 704643208 bytes
Database Buffers 1124073472 bytes
Redo Buffers 7983104 bytes
Database mounted.
Database opened.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB01 MOUNTED
SQL> alter pluggable database all open;
Pluggable database altered.
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB01 READ WRITE NO
SQL> exit
Disconnected from Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
[oracle@prod04 26123830]$
[oracle@prod04 26123830]$ /u01/app/oracle/product/12.2.0/dbhome_1/OPatch/datapatch -verbose
SQL Patching tool version 12.2.0.1.0 Production on Mon Aug 6 13:06:18 2018
Copyright (c) 2012, 2017, Oracle. All rights reserved.
Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_7981_2018_08_06_13_06_18/sqlpatch_invocation.log
Connecting to database...OK
Note: Datapatch will only apply or rollback SQL fixes for PDBs
that are in an open state, no patches will be applied to closed PDBs.
Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation
(Doc ID 1585822.1)
Bootstrapping registry and package to current versions...done
Determining current state...done
Current state of SQL patches:
Bundle series DBRU:
ID 170718 in the binary registry and not installed in any PDB
Adding patches to installation queue and performing prereq checks...
Installation queue:
For the following PDBs: CDB$ROOT PDB$SEED PDB01
Nothing to roll back
The following patches will be applied:
26123830 (DATABASE RELEASE UPDATE 12.2.0.1.170718)
Installing patches...
Patch installation complete. Total patches installed: 3
Validating logfiles...
Patch 26123830 apply (pdb CDB$ROOT): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_apply_CDB_CDBROOT_2018Aug06_13_06_37.log (no errors)
Patch 26123830 apply (pdb PDB$SEED): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_apply_CDB_PDBSEED_2018Aug06_13_07_21.log (no errors)
Patch 26123830 apply (pdb PDB01): SUCCESS
logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/26123830/21405588/26123830_apply_CDB_PDB01_2018Aug06_13_07_21.log (no errors)
SQL Patching tool complete on Mon Aug 6 13:07:59 2018
[oracle@prod04 26123830]$
6,檢查補丁狀態
SQL> select patch_id,action,status,BUNDLE_SERIES from dba_registry_sqlpatch;
PATCH_ID ACTION STATUS BUNDLE_SERIES
---------- --------------- --------------- ------------------------------
26123830 APPLY SUCCESS DBRU
# select patch_id , patch_uid , version , flags , action , status , action_time , description , bundle_series from dba_registry_sqlpatch ;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20747382/viewspace-2199223/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 12.2.0.1.0 Grid RU安裝
- Centos7下安裝Sql*Plus並連線遠端Oralce伺服器CentOSSQL伺服器
- Oracle RU RUROracle
- oralce資料庫總結(一)--PLSQL Developer 11安裝破解+漢化圖文詳細教程資料庫SQLDeveloper
- oralce schema 的設計意思
- Oracle RAC 19.3打19.5.1 RU補丁Oracle
- RU 和 RUR oracle補丁說明Oracle
- 19c 自動打RU補丁
- Oracle 12.2之後補丁RU RUR概要Oracle
- 安裝npm 解除安裝npm 安裝apidocNPMAPI
- Oralce之PL/SQL程式設計(遊標)SQL程式設計
- BiocManager安裝,devtools安裝dev
- Linux安裝解除安裝MySQLLinuxMySql
- linux 安裝yum 安裝phpLinuxPHP
- Ubuntu解除安裝和安裝Ubuntu
- 02 安裝git、安裝TortoiseGitGit
- cocoapods安裝/解除安裝/使用
- JDK安裝和解除安裝JDK
- ffmpeg安裝之mac安裝Mac
- docker安裝及解除安裝Docker
- [ 安裝 ] Zeppelin安裝步驟!
- win10安裝版怎麼安裝_安裝版win10安裝教程Win10
- ElasticSearch的安裝和使用,Postman的安裝,Kibana的安裝,EShead外掛的安裝ElasticsearchPostman
- Mac Redis安裝與解除安裝MacRedis
- 安裝了IDLE後安裝tensorflow
- kratos安裝及依賴安裝
- Linux 解除安裝openjdk 安裝oraclejdkLinuxJDKOracle
- debian安裝和解除安裝vmware
- JDK的安裝與解除安裝JDK
- linux 解除安裝jdk和安裝LinuxJDK
- 【推薦 - glibc安裝】MySQL - 安裝MySql
- linux下安裝snap安裝工具Linux
- [雲原生]Docker - 安裝&解除安裝Docker
- Ubuntu安裝和解除安裝mongodbUbuntuMongoDB
- window下安裝並使用nvm(含解除安裝node、解除安裝nvm、全域性安裝npm)NPM
- ORALCE函式:LAG()和LEAD() 分析函式詳解函式
- PL/SQL 連線 Oralce 提示 Could not initialize oci.dllSQL
- oralce 跨使用者訪問表 同義詞