SlideShare ist ein Scribd-Unternehmen logo
1 von 9
Downloaden Sie, um offline zu lesen
检查 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)

Weitere ähnliche Inhalte

Andere mochten auch

Creating Relevant Innovation within Changing Expectations
Creating Relevant Innovation within Changing ExpectationsCreating Relevant Innovation within Changing Expectations
Creating Relevant Innovation within Changing Expectations
Eleanor 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
 
Comprehensive Soldier Fitness Concept- Baker
Comprehensive Soldier Fitness Concept- BakerComprehensive Soldier Fitness Concept- Baker
Comprehensive Soldier Fitness Concept- Baker
Leishman Associates
 
Some key considerations relating anastas
Some key considerations relating anastasSome key considerations relating anastas
Some key considerations relating anastas
Leishman Associates
 
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 Wishaw
Leishman 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, Finland
Jukka Huhtamäki
 

Andere mochten auch (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
 

Mehr von 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
 
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
maclean liu
 
Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2Apouc 4min pitch_biotwang_v2
Apouc 4min pitch_biotwang_v2
maclean liu
 
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
使用Oracle osw analyzer工具分析oswbb日志,并绘制系统性能走势图1
maclean liu
 

Mehr von 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
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, Ocado
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 

检查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)