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