加入收藏 | 设为首页 | 会员中心 | 我要投稿 辽源站长网 (https://www.0437zz.com/)- 云专线、云连接、智能数据、边缘计算、数据安全!
当前位置: 首页 > 站长百科 > 正文

如何检查Oracle补丁是否已安装?

发布时间:2021-05-22 08:18:34 所属栏目:站长百科 来源:网络整理
导读:如何检查Oracle中是否安装了所有服务和修补程序? 我有一个Oracle 10.2.0.2.0 db版本,想要安装补丁.另外,我想获得包含所有服务和补丁的列表. Here is an article on how to check and or install new patches : 要找到OPatch工具,请设置数据库环境变量,然后

如何检查Oracle中是否安装了所有服务和修补程序?

我有一个Oracle 10.2.0.2.0 db版本,想要安装补丁.另外,我想获得包含所有服务和补丁的列表.

Here is an article on how to check and or install new patches :

要找到OPatch工具,请设置数据库环境变量,然后发出此命令:

cd $ORACLE_HOME/OPatch 
> pwd
/oracle/app/product/10.2.0/db_1/OPatch

要列出适用于您的数据库的所有修补程序,请使用lsinventory选项:

[oracle@DCG023 8828328]$opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.4
Copyright (c) 2012,Oracle Corporation. All rights reserved.

Oracle Home : /u00/product/11.2.0/dbhome_1
Central Inventory : /u00/oraInventory
from : /u00/product/11.2.0/dbhome_1/oraInst.loc
OPatch version : 11.2.0.3.4
OUI version : 11.2.0.1.0
Log file location : /u00/product/11.2.0/dbhome_1/cfgtoollogs/opatch/opatch2013-11-13_13-55-22PM_1.log
Lsinventory Output file location : /u00/product/11.2.0/dbhome_1/cfgtoollogs/opatch/lsinv/lsinventory2013-11-13_13-55-22PM.txt


Installed Top-level Products (1):
Oracle Database 11g 11.2.0.1.0
There are 1 products installed in this Oracle Home.

Interim patches (1) :
Patch 8405205 : applied on Mon Aug 19 15:18:04 BRT 2013
Unique Patch ID: 11805160
Created on 23 Sep 2009,02:41:32 hrs PST8PDT
Bugs fixed:
8405205

OPatch succeeded.

要使用sql列出补丁:

select * from registry$history;

(编辑:辽源站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读