SlideShare une entreprise Scribd logo
1  sur  9
Télécharger pour lire hors ligne
检查 Oracle 数据库软件
是 Enterprise Edition
或 Standard Edition 的
      10 种方法




      by Maclean.liu
            liu.maclean@gmail.com
        www.oracledatabase12g.com
About Me

l Email:liu.maclean@gmail.com
l Blog:www.oracledatabase12g.com
l Oracle Certified Database Administrator Master 10g
and 11g
l Over 6 years experience with Oracle DBA technology
l Over 7 years experience with Linux technology
l Member Independent Oracle Users Group
l Member All China Oracle Users Group
l Presents for advanced Oracle topics: RAC,
DataGuard, Performance Tuning and Oracle Internal.
我们在接手企业的产品数据库时首先总是要了解一下数据库的版本、版本号等信息。

Oracle 数据库软件根据用户不同的需求分成多种版本(Database Edition),它们分为:



Oracle Database Standard Edition One :delivers unprecedented ease of use, power, and performance for
workgroup, department-level, and Web applications. From single-server environments for small business to
highly distributed branch environments, Oracle Database Standard Edition One includes all the facilities
necessary to build business-critical applications.


Oracle Database Standard Edition:delivers the unprecedented ease of use, power, and performance of
Standard Edition One, with support for larger machines and clustering of services with Real Application
Clusters. Real Application Clusters is not included in the Standard Edition of releases prior to Oracle Database
10g, nor is it an available option with those earlier releases.


Oracle Database Enterprise Edition: provides the performance, availability, scalability, and security required for
mission-critical applications such as high-volume online transaction processing (OLTP) applications, query-
intensive data warehouses, and demanding Internet applications. Oracle Database Enterprise Edition contains
all of the components of Oracle Database, and can be further enhanced with the purchase of the options and
packs described in Chapter 2, “Options and Packs”.


Oracle Database Personal Edition: supports single-user development and deployment environments that
require full compatibility with Oracle Database Standard Edition One, Oracle Database Standard Edition, and
Oracle Database Enterprise Edition.

Personal Edition includes all of the components that are included with Enterprise Edition, as well as all of the
options that are available with Enterprise Edition, with the exception of the Oracle Real Application Clusters
option, which cannot be used with Personal Edition. Personal Edition is available on Windows 2000, Windows
NT, Windows XP, and Windows Server 2003 (32-bit and 64-bit versions). The Management Packs are not
included in Personal Edition.
关于 EE、SE、Personal 各版本之间的具体差异可以参考 Mos Note<FAQ: Differences Between Enterprise,
Standard and Personal Editions [ID 465455.1]>。



这里我们要具体介绍的识别现有安装的 Oracle 数据库软件是 Enterprise Edition、还是 Standard Edition 或其他版
本的几种方法:
方法 1:使用 SQLPLUS 产生 banner 信息




sqlplus / as sysdba


SQL*Plus: Release 11.2.0.3.0 Production on Tue Sep 27 20:58:38 2011


Copyright (c) 1982, 2011, Oracle.   All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options


SQL> select * from global_name;


GLOBAL_NAME
------------------------------------------------------
www.oracledatabase12g.com & www.askmaclean.com



方法 2:查询 v$version 获取 banner 信息




SQL> select * from v$version where rownum=1;


BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production



方法 3:查询告警日志 alert.log 中的启动信息:



cat alert_VPROD1.log |grep Edition|uniq -u


Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
方法 4:查询 udump 或 bdump 目录下 trace 文件的头部也可以获得 Database Edition 信息:




[oracle@vrh1 trace]$ head -10 VPROD1_lmhb_9336.trc


Trace file /s01/orabase/diag/rdbms/vprod/VPROD1/trace/VPROD1_lmhb_9336.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options
ORACLE_HOME = /s01/orabase/product/11.2.0/dbhome_3
System name:    Linux
Node name:      vrh1.oracle.com
Release:        2.6.18-274.el5
Version:        #1 SMP Mon Jul 25 13:17:49 EDT 2011
Machine:        x86_64



方法 5:在 Windows 平台上可以从注册表的 ORACLE_BUNDLE_NAME 了解:




方法 6:若 Oracle RDBMS 软件的原始安装日志仍保留着,那么可以从日志中找到安装的 Database Edition:




EE:


[oracle@rh2 ~]$ cd $ORACLE_HOME/cfgtoollogs/oui
[oracle@rh2 oui]$ cat installActions2011-03-29_10-54-40PM.log|grep -i "Database Edition"
INFO: Database Edition selected: EE
- Database edition : Enterprise Edition (Install database software only)


SE:


[maclean@vbase ~]$ cd /s01/orabase/product/11.2.0/dbhome_1/cfgtoollogs/oui


[maclean@vbase oui]$ ls -ltr
total 2608
-rw-rw----. 1 maclean maclean     113 Sep 27 19:35 oraInstall2011-09-27_07-29-17PM.out
-rw-rw----. 1 maclean maclean         0 Sep 27 19:35 oraInstall2011-09-27_07-29-17PM.err
-rw-rw----. 1 maclean maclean 2663801 Sep 27 19:38 installActions2011-09-27_07-29-
17PM.log


[maclean@vbase oui]$ cat installActions2011-09-27_07-29-17PM.log |grep -i "Database
Edition"
INFO: INFO: Database Edition selected: STD
INFO: - Database edition : Standard Edition (Install database software only)



方法 7:$ORACLE_HOME/lib/lib/libvsn*共享库文件中存有”Database Edition”信息,可以利用该 so 文件帮助确
认是 EE 还是 SE:




EE:


[oracle@rh2 ~]$ ls -l $ORACLE_HOME/lib/libvsn*
-rw-r--r-- 1 oracle oinstall 3074 Mar 11    2008 /s01/db_1/lib/libvsn10.a
-rw-r--r-- 1 oracle oinstall 3050 Mar 11    2008 /s01/db_1/lib/libvsn10_std.a.dbl


[oracle@rh2 ~]$ strings /s01/db_1/lib/libvsn10.a|grep -i "release"
Oracle Database 10g Enterprise Edition Release %d.%d.%d.%d.%d %s


SE:
[maclean@vbase dbhome_1]$ ls -l $ORACLE_HOME/lib/libvsn*
-rw-r--r--. 1 maclean maclean 8438 Sep 17 08:26 lib/libvsn11.a
-rw-r--r--. 1 maclean maclean 8494 Sep 17 08:26 lib/libvsn11_ee.a.dbl


[maclean@vbase dbhome_1]$ strings lib/libvsn11.a|grep -i "release"
Oracle Database 11g Release %d.%d.%d.%d.%d %s


/* 没有 Enterprise Edition 说明是 Standard Edition */
方法 8:如果做过 RDA,那么 RDA 报告中会记录 RDBMS 软件是 Enterprise Edition 或 Standard Edition



方法 9: 仅针对 10g r1/r2 有效,通过”$ORACLE_HOME/inventory/Components21/oracle.server/
$VERSION/content.xml” inventory 库信息文件可以定位 oracle.server 是 Enterprise Edition 或 Standard Edition:




cat /s01/db_1/inventory/Components21/oracle.server/10.2.0.1.0/context.xml |grep
"s_serverInstallType"


      <VAR NAME="s_serverInstallType" TYPE="String" DESC_RES_ID="s_serverInstallType_DESC"

      SECURE="F"

      VAL="EE" ADV="F" CLONABLE="F" USER_INPUT="CALC"/>

      <CONST NAME="s_serverInstallType_DESC" PLAT_SP="F" TYPE="String" TRANS="F"

      VAL="This variable is used to determine which database configuration was chosen

      by the user and will be passed down to rdbms-dbca"/>


这里的 VAL="EE"说明是 Enterprise Edition
如果是 VAL="SE"则说明为 Standard Edition


注意该方法仅对 10g 有效



方法 10: 仅针对 11g 有效,通过$ORACLE_HOME/inventory/response 库目录下的 response 文件帮助确认:




EE


cd $ORACLE_HOME/inventory/response


[oracle@vrh1 response]$ ls -l
total 76
-rw-rw---- 1 oracle oinstall 24992 Sep 17 09:26 db_install.rsp
-rw-rw---- 1 oracle oinstall 46530 Sep 24 23:31 oracle.server_EE.rsp


[oracle@vrh1 response]$ cat oracle.server*.rsp|grep INSTALL_TYPE
#Name         : INSTALL_TYPE
INSTALL_TYPE="Enterprise Edition"


SE:


cd $ORACLE_HOME/inventory/response
[maclean@vbase response]$ ls -ltr
total 76
-rw-rw----. 1 maclean maclean 24992 Sep 17 09:26 db_install.rsp
-rw-rw----. 1 maclean maclean 46485 Sep 27 19:36 oracle.server_SE.rsp


[maclean@vbase response]$ cat oracle.server_SE.rsp |grep INSTALL_TYPE
#Name       : INSTALL_TYPE
INSTALL_TYPE="Standard Edition"



相信以上介绍的 10 种方法总有一种可以满足你的需求, just enjoy it !




© 2011, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追求法律责
任.



相关文章 | Related Posts:

    1. 巧用 close_trace 命令释放误删 trace 文件

    2. How to make BBED(Oracle Block Brower and EDitor Tool) on
        Unix/Linux/Windows

    3. 解决 sqlplus 的 segmentation fault 或 hang 问题

    4. 11gr1 installation failed on Fedora 14 with libnnz11.so could not read symbols

    5. LIBCLNTSH.SO: WRONG ELF CLASS: ELFCLASS32 错误一例

    6. Backup Script:Expdp Schema to ASM Storage

    7. 在 Fedora 15 上使用 Vmware Server 2.0.2

    8. Poor Data Export Performance(revised)

Contenu connexe

En vedette

Creating Relevant Innovation within Changing Expectations
Creating Relevant Innovation within Changing ExpectationsCreating Relevant Innovation within Changing Expectations
Creating Relevant Innovation within Changing ExpectationsEleanor Davies
 
Measuring of non ionising radiation due to wi fi, dect, 4g (lte) or radar- sc...
Measuring of non ionising radiation due to wi fi, dect, 4g (lte) or radar- sc...Measuring of non ionising radiation due to wi fi, dect, 4g (lte) or radar- sc...
Measuring of non ionising radiation due to wi fi, dect, 4g (lte) or radar- sc...Leishman Associates
 
Legionnaires Disease
Legionnaires DiseaseLegionnaires Disease
Legionnaires Diseaseindus329
 
Comprehensive Soldier Fitness Concept- Baker
Comprehensive Soldier Fitness Concept- BakerComprehensive Soldier Fitness Concept- Baker
Comprehensive Soldier Fitness Concept- BakerLeishman Associates
 
Oracle prm dul, jvm and os
Oracle prm dul, jvm and osOracle prm dul, jvm and os
Oracle prm dul, jvm and osmaclean liu
 
New Zealand Franchising Confidence Index | July 2016
New Zealand Franchising Confidence Index | July 2016New Zealand Franchising Confidence Index | July 2016
New Zealand Franchising Confidence Index | July 2016Franchize Consultants
 
Some key considerations relating anastas
Some key considerations relating anastasSome key considerations relating anastas
Some key considerations relating anastasLeishman Associates
 
The State of Social PR
The State of Social PR The State of Social PR
The State of Social PR Vuelio
 
Decommissioning and dismantling of the moata reactor a radiation protection ...
Decommissioning and dismantling of the moata reactor  a radiation protection ...Decommissioning and dismantling of the moata reactor  a radiation protection ...
Decommissioning and dismantling of the moata reactor a radiation protection ...Leishman Associates
 
Hypothermia and the battle casualty Wishaw
Hypothermia and the battle casualty  WishawHypothermia and the battle casualty  Wishaw
Hypothermia and the battle casualty WishawLeishman Associates
 
Kutná hora ii.
Kutná hora ii.Kutná hora ii.
Kutná hora ii.AlfickaH
 
Innovation Ecosystems at EBRF 2010, Nokia, Finland
Innovation Ecosystems at EBRF 2010, Nokia, FinlandInnovation Ecosystems at EBRF 2010, Nokia, Finland
Innovation Ecosystems at EBRF 2010, Nokia, FinlandJukka Huhtamäki
 

En vedette (16)

Creating Relevant Innovation within Changing Expectations
Creating Relevant Innovation within Changing ExpectationsCreating Relevant Innovation within Changing Expectations
Creating Relevant Innovation within Changing Expectations
 
Primo semestre
Primo semestrePrimo semestre
Primo semestre
 
Measuring of non ionising radiation due to wi fi, dect, 4g (lte) or radar- sc...
Measuring of non ionising radiation due to wi fi, dect, 4g (lte) or radar- sc...Measuring of non ionising radiation due to wi fi, dect, 4g (lte) or radar- sc...
Measuring of non ionising radiation due to wi fi, dect, 4g (lte) or radar- sc...
 
Legionnaires Disease
Legionnaires DiseaseLegionnaires Disease
Legionnaires Disease
 
Presentation1
Presentation1Presentation1
Presentation1
 
Comprehensive Soldier Fitness Concept- Baker
Comprehensive Soldier Fitness Concept- BakerComprehensive Soldier Fitness Concept- Baker
Comprehensive Soldier Fitness Concept- Baker
 
Finding AHS Centaur- mearns
Finding AHS Centaur- mearnsFinding AHS Centaur- mearns
Finding AHS Centaur- mearns
 
Oracle prm dul, jvm and os
Oracle prm dul, jvm and osOracle prm dul, jvm and os
Oracle prm dul, jvm and os
 
New Zealand Franchising Confidence Index | July 2016
New Zealand Franchising Confidence Index | July 2016New Zealand Franchising Confidence Index | July 2016
New Zealand Franchising Confidence Index | July 2016
 
Some key considerations relating anastas
Some key considerations relating anastasSome key considerations relating anastas
Some key considerations relating anastas
 
The State of Social PR
The State of Social PR The State of Social PR
The State of Social PR
 
Hekla
HeklaHekla
Hekla
 
Decommissioning and dismantling of the moata reactor a radiation protection ...
Decommissioning and dismantling of the moata reactor  a radiation protection ...Decommissioning and dismantling of the moata reactor  a radiation protection ...
Decommissioning and dismantling of the moata reactor a radiation protection ...
 
Hypothermia and the battle casualty Wishaw
Hypothermia and the battle casualty  WishawHypothermia and the battle casualty  Wishaw
Hypothermia and the battle casualty Wishaw
 
Kutná hora ii.
Kutná hora ii.Kutná hora ii.
Kutná hora ii.
 
Innovation Ecosystems at EBRF 2010, Nokia, Finland
Innovation Ecosystems at EBRF 2010, Nokia, FinlandInnovation Ecosystems at EBRF 2010, Nokia, Finland
Innovation Ecosystems at EBRF 2010, Nokia, Finland
 

Plus de maclean liu

Mysql企业备份发展及实践
Mysql企业备份发展及实践Mysql企业备份发展及实践
Mysql企业备份发展及实践maclean liu
 
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアルOracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアルmaclean liu
 
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略maclean liu
 
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案maclean liu
 
TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例maclean liu
 
PRM DUL Oracle Database Health Check
PRM DUL Oracle Database Health CheckPRM DUL Oracle Database Health Check
PRM DUL Oracle Database Health Checkmaclean liu
 
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案maclean liu
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响maclean liu
 
【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案maclean liu
 
Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2maclean liu
 
Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2maclean liu
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1maclean liu
 
诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础 诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础 maclean liu
 
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wangOrclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wangmaclean liu
 
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24maclean liu
 
追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?maclean liu
 
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践maclean liu
 
Prm dul is an oracle database recovery tool database
Prm dul is an oracle database recovery tool   databasePrm dul is an oracle database recovery tool   database
Prm dul is an oracle database recovery tool databasemaclean liu
 
Oracle dba必备技能 使用os watcher工具监控系统性能负载
Oracle dba必备技能   使用os watcher工具监控系统性能负载Oracle dba必备技能   使用os watcher工具监控系统性能负载
Oracle dba必备技能 使用os watcher工具监控系统性能负载maclean liu
 
Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3maclean liu
 

Plus de maclean liu (20)

Mysql企业备份发展及实践
Mysql企业备份发展及实践Mysql企业备份发展及实践
Mysql企业备份发展及实践
 
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアルOracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
Oracle専用データ復旧ソフトウェアprm dulユーザーズ・マニュアル
 
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
【诗檀软件 郭兆伟-技术报告】跨国企业级Oracle数据库备份策略
 
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
基于Oracle 12c data guard & far sync的低资源消耗两地三数据中心容灾方案
 
TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例TomCat迁移步骤简述以及案例
TomCat迁移步骤简述以及案例
 
PRM DUL Oracle Database Health Check
PRM DUL Oracle Database Health CheckPRM DUL Oracle Database Health Check
PRM DUL Oracle Database Health Check
 
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
dbdao.com 汪伟华 my-sql-replication复制高可用配置方案
 
Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响Vbox virtual box在oracle linux 5 - shoug 梁洪响
Vbox virtual box在oracle linux 5 - shoug 梁洪响
 
【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案【诗檀软件】Mysql高可用方案
【诗檀软件】Mysql高可用方案
 
Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2Shoug at apouc2015 4min pitch_biotwang_v2
Shoug at apouc2015 4min pitch_biotwang_v2
 
Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
 
诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础 诗檀软件 Oracle开发优化基础
诗檀软件 Oracle开发优化基础
 
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wangOrclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
Orclrecove 1 pd-prm-dul testing for oracle database recovery_20141030_biot_wang
 
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
诗檀软件 – Oracle数据库修复专家 oracle数据块损坏知识2014-10-24
 
追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?追求Jdbc on oracle最佳性能?如何才好?
追求Jdbc on oracle最佳性能?如何才好?
 
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
使用Virtual box在oracle linux 5.7上安装oracle database 11g release 2 rac的最佳实践
 
Prm dul is an oracle database recovery tool database
Prm dul is an oracle database recovery tool   databasePrm dul is an oracle database recovery tool   database
Prm dul is an oracle database recovery tool database
 
Oracle dba必备技能 使用os watcher工具监控系统性能负载
Oracle dba必备技能   使用os watcher工具监控系统性能负载Oracle dba必备技能   使用os watcher工具监控系统性能负载
Oracle dba必备技能 使用os watcher工具监控系统性能负载
 
Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3Parnassus data recovery manager for oracle database user guide v0.3
Parnassus data recovery manager for oracle database user guide v0.3
 

Dernier

Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Will Schroeder
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.francesco barbera
 
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdfJamie (Taka) Wang
 
RAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIRAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIUdaiappa Ramachandran
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfAnna Loughnan Colquhoun
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaborationbruanjhuli
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IES VE
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataSafe Software
 
GenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncGenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncObject Automation
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPathCommunity
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfDianaGray10
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8DianaGray10
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UbiTrack UK
 

Dernier (20)

Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
Apres-Cyber - The Data Dilemma: Bridging Offensive Operations and Machine Lea...
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.
 
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
20200723_insight_release_plan_v6.pdf20200723_insight_release_plan_v6.pdf
 
RAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIRAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AI
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdf
 
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online CollaborationCOMPUTER 10: Lesson 7 - File Storage and Online Collaboration
COMPUTER 10: Lesson 7 - File Storage and Online Collaboration
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
IESVE Software for Florida Code Compliance Using ASHRAE 90.1-2019
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 
GenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation IncGenAI and AI GCC State of AI_Object Automation Inc
GenAI and AI GCC State of AI_Object Automation Inc
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
UiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation DevelopersUiPath Community: AI for UiPath Automation Developers
UiPath Community: AI for UiPath Automation Developers
 
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdfUiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
UiPath Solutions Management Preview - Northern CA Chapter - March 22.pdf
 
UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8UiPath Studio Web workshop series - Day 8
UiPath Studio Web workshop series - Day 8
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
UWB Technology for Enhanced Indoor and Outdoor Positioning in Physiological M...
 

检查Oracle数据库软件是enterprise edition或standard edition的10种方法

  • 1. 检查 Oracle 数据库软件 是 Enterprise Edition 或 Standard Edition 的 10 种方法 by Maclean.liu liu.maclean@gmail.com www.oracledatabase12g.com
  • 2. About Me l Email:liu.maclean@gmail.com l Blog:www.oracledatabase12g.com l Oracle Certified Database Administrator Master 10g and 11g l Over 6 years experience with Oracle DBA technology l Over 7 years experience with Linux technology l Member Independent Oracle Users Group l Member All China Oracle Users Group l Presents for advanced Oracle topics: RAC, DataGuard, Performance Tuning and Oracle Internal.
  • 3. 我们在接手企业的产品数据库时首先总是要了解一下数据库的版本、版本号等信息。 Oracle 数据库软件根据用户不同的需求分成多种版本(Database Edition),它们分为: Oracle Database Standard Edition One :delivers unprecedented ease of use, power, and performance for workgroup, department-level, and Web applications. From single-server environments for small business to highly distributed branch environments, Oracle Database Standard Edition One includes all the facilities necessary to build business-critical applications. Oracle Database Standard Edition:delivers the unprecedented ease of use, power, and performance of Standard Edition One, with support for larger machines and clustering of services with Real Application Clusters. Real Application Clusters is not included in the Standard Edition of releases prior to Oracle Database 10g, nor is it an available option with those earlier releases. Oracle Database Enterprise Edition: provides the performance, availability, scalability, and security required for mission-critical applications such as high-volume online transaction processing (OLTP) applications, query- intensive data warehouses, and demanding Internet applications. Oracle Database Enterprise Edition contains all of the components of Oracle Database, and can be further enhanced with the purchase of the options and packs described in Chapter 2, “Options and Packs”. Oracle Database Personal Edition: supports single-user development and deployment environments that require full compatibility with Oracle Database Standard Edition One, Oracle Database Standard Edition, and Oracle Database Enterprise Edition. Personal Edition includes all of the components that are included with Enterprise Edition, as well as all of the options that are available with Enterprise Edition, with the exception of the Oracle Real Application Clusters option, which cannot be used with Personal Edition. Personal Edition is available on Windows 2000, Windows NT, Windows XP, and Windows Server 2003 (32-bit and 64-bit versions). The Management Packs are not included in Personal Edition.
  • 4. 关于 EE、SE、Personal 各版本之间的具体差异可以参考 Mos Note<FAQ: Differences Between Enterprise, Standard and Personal Editions [ID 465455.1]>。 这里我们要具体介绍的识别现有安装的 Oracle 数据库软件是 Enterprise Edition、还是 Standard Edition 或其他版 本的几种方法:
  • 5. 方法 1:使用 SQLPLUS 产生 banner 信息 sqlplus / as sysdba SQL*Plus: Release 11.2.0.3.0 Production on Tue Sep 27 20:58:38 2011 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options SQL> select * from global_name; GLOBAL_NAME ------------------------------------------------------ www.oracledatabase12g.com & www.askmaclean.com 方法 2:查询 v$version 获取 banner 信息 SQL> select * from v$version where rownum=1; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production 方法 3:查询告警日志 alert.log 中的启动信息: cat alert_VPROD1.log |grep Edition|uniq -u Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
  • 6. 方法 4:查询 udump 或 bdump 目录下 trace 文件的头部也可以获得 Database Edition 信息: [oracle@vrh1 trace]$ head -10 VPROD1_lmhb_9336.trc Trace file /s01/orabase/diag/rdbms/vprod/VPROD1/trace/VPROD1_lmhb_9336.trc Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, OLAP, Data Mining and Real Application Testing options ORACLE_HOME = /s01/orabase/product/11.2.0/dbhome_3 System name: Linux Node name: vrh1.oracle.com Release: 2.6.18-274.el5 Version: #1 SMP Mon Jul 25 13:17:49 EDT 2011 Machine: x86_64 方法 5:在 Windows 平台上可以从注册表的 ORACLE_BUNDLE_NAME 了解: 方法 6:若 Oracle RDBMS 软件的原始安装日志仍保留着,那么可以从日志中找到安装的 Database Edition: EE: [oracle@rh2 ~]$ cd $ORACLE_HOME/cfgtoollogs/oui
  • 7. [oracle@rh2 oui]$ cat installActions2011-03-29_10-54-40PM.log|grep -i "Database Edition" INFO: Database Edition selected: EE - Database edition : Enterprise Edition (Install database software only) SE: [maclean@vbase ~]$ cd /s01/orabase/product/11.2.0/dbhome_1/cfgtoollogs/oui [maclean@vbase oui]$ ls -ltr total 2608 -rw-rw----. 1 maclean maclean 113 Sep 27 19:35 oraInstall2011-09-27_07-29-17PM.out -rw-rw----. 1 maclean maclean 0 Sep 27 19:35 oraInstall2011-09-27_07-29-17PM.err -rw-rw----. 1 maclean maclean 2663801 Sep 27 19:38 installActions2011-09-27_07-29- 17PM.log [maclean@vbase oui]$ cat installActions2011-09-27_07-29-17PM.log |grep -i "Database Edition" INFO: INFO: Database Edition selected: STD INFO: - Database edition : Standard Edition (Install database software only) 方法 7:$ORACLE_HOME/lib/lib/libvsn*共享库文件中存有”Database Edition”信息,可以利用该 so 文件帮助确 认是 EE 还是 SE: EE: [oracle@rh2 ~]$ ls -l $ORACLE_HOME/lib/libvsn* -rw-r--r-- 1 oracle oinstall 3074 Mar 11 2008 /s01/db_1/lib/libvsn10.a -rw-r--r-- 1 oracle oinstall 3050 Mar 11 2008 /s01/db_1/lib/libvsn10_std.a.dbl [oracle@rh2 ~]$ strings /s01/db_1/lib/libvsn10.a|grep -i "release" Oracle Database 10g Enterprise Edition Release %d.%d.%d.%d.%d %s SE: [maclean@vbase dbhome_1]$ ls -l $ORACLE_HOME/lib/libvsn* -rw-r--r--. 1 maclean maclean 8438 Sep 17 08:26 lib/libvsn11.a -rw-r--r--. 1 maclean maclean 8494 Sep 17 08:26 lib/libvsn11_ee.a.dbl [maclean@vbase dbhome_1]$ strings lib/libvsn11.a|grep -i "release" Oracle Database 11g Release %d.%d.%d.%d.%d %s /* 没有 Enterprise Edition 说明是 Standard Edition */
  • 8. 方法 8:如果做过 RDA,那么 RDA 报告中会记录 RDBMS 软件是 Enterprise Edition 或 Standard Edition 方法 9: 仅针对 10g r1/r2 有效,通过”$ORACLE_HOME/inventory/Components21/oracle.server/ $VERSION/content.xml” inventory 库信息文件可以定位 oracle.server 是 Enterprise Edition 或 Standard Edition: cat /s01/db_1/inventory/Components21/oracle.server/10.2.0.1.0/context.xml |grep "s_serverInstallType" <VAR NAME="s_serverInstallType" TYPE="String" DESC_RES_ID="s_serverInstallType_DESC" SECURE="F" VAL="EE" ADV="F" CLONABLE="F" USER_INPUT="CALC"/> <CONST NAME="s_serverInstallType_DESC" PLAT_SP="F" TYPE="String" TRANS="F" VAL="This variable is used to determine which database configuration was chosen by the user and will be passed down to rdbms-dbca"/> 这里的 VAL="EE"说明是 Enterprise Edition 如果是 VAL="SE"则说明为 Standard Edition 注意该方法仅对 10g 有效 方法 10: 仅针对 11g 有效,通过$ORACLE_HOME/inventory/response 库目录下的 response 文件帮助确认: EE cd $ORACLE_HOME/inventory/response [oracle@vrh1 response]$ ls -l total 76 -rw-rw---- 1 oracle oinstall 24992 Sep 17 09:26 db_install.rsp -rw-rw---- 1 oracle oinstall 46530 Sep 24 23:31 oracle.server_EE.rsp [oracle@vrh1 response]$ cat oracle.server*.rsp|grep INSTALL_TYPE #Name : INSTALL_TYPE INSTALL_TYPE="Enterprise Edition" SE: cd $ORACLE_HOME/inventory/response
  • 9. [maclean@vbase response]$ ls -ltr total 76 -rw-rw----. 1 maclean maclean 24992 Sep 17 09:26 db_install.rsp -rw-rw----. 1 maclean maclean 46485 Sep 27 19:36 oracle.server_SE.rsp [maclean@vbase response]$ cat oracle.server_SE.rsp |grep INSTALL_TYPE #Name : INSTALL_TYPE INSTALL_TYPE="Standard Edition" 相信以上介绍的 10 种方法总有一种可以满足你的需求, just enjoy it ! © 2011, www.oracledatabase12g.com. 版权所有.文章允许转载,但必须以链接方式注明源地址,否则追求法律责 任. 相关文章 | Related Posts: 1. 巧用 close_trace 命令释放误删 trace 文件 2. How to make BBED(Oracle Block Brower and EDitor Tool) on Unix/Linux/Windows 3. 解决 sqlplus 的 segmentation fault 或 hang 问题 4. 11gr1 installation failed on Fedora 14 with libnnz11.so could not read symbols 5. LIBCLNTSH.SO: WRONG ELF CLASS: ELFCLASS32 错误一例 6. Backup Script:Expdp Schema to ASM Storage 7. 在 Fedora 15 上使用 Vmware Server 2.0.2 8. Poor Data Export Performance(revised)