0
点赞
收藏
分享

微信扫一扫

[重庆思庄每日技术分享]-ORACLE升级补丁查询

码农K 2022-02-11 阅读 111

工作当中有时候想查看一下数据库的具体版本号,这里简单整理了一下,可以通过:dba_server_registry、dba_registry_history、product_component_version、v$version视图查看,另外还可以通过Oracle Opatch命令查询具体的补丁版本

1、查询dba_server_registry视图

SQL> select comp_name,version from dba_server_registry;

2、查询dba_registry_history

SQL> select * from dba_registry_history;

3、查询product_component_version视图

SQL> select product,version from product_component_version;

4、查询v$version视图

SQL> select * from v$version;

5、利用Opatch命令进行查看具体的补丁有哪些

$opatch lsinventory -detail -oh $CRS_HOME

$opatch lsinventory -detail -oh $RDBMS_HOME

举报

相关推荐

0 条评论