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

标签 oracle patch

如何检查 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;

关于oracle - 如何检查Oracle补丁是否安装?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22861503/

相关文章:

sql - Oracle 中的重复行

oracle - 查看 oracle 中重复行的所有数据

java - 想使用JConsole进行性能测试

python - 如何模拟单例类方法

amazon-web-services - 是否可以通过 python 脚本根据计划修补 ec2 实例?

oracle - 将 'LIKE' 运算符与返回多个结果的子查询一起使用

Oracle Merge 忽略重复项

windows - 搜索维护的二进制差异/补丁工具或库

git - 从 git add -p 编辑 hunk 时修复 "patch does not apply"

git - 删除行时应该如何编辑补丁 checkout ?