Chinaunix首页 | 论坛 | 博客
  • 博客访问: 336106
  • 博文数量: 62
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 710
  • 用 户 组: 普通用户
  • 注册时间: 2013-05-14 14:12
个人简介

太懒

文章分类

全部博文(62)

文章存档

2015年(8)

2014年(20)

2013年(34)

我的朋友

分类: Oracle

2013-06-06 14:00:41

select * from v$version;
结果如下:
   BANNER
1  Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
2 PL/SQL Release 10.2.0.1.0 - Production
3 CORE 10.2.0.1.0 Production
4 TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
5 NLSRTL Version 10.2.0.1.0 - Production

例如:Oracle 9.0.1.1.2 
  
  9:版本号 
  0:新特性版本号 
  1(第一个):维护版本号 
  1(第二个):普通的补丁设置号码 
  2:非凡的平台补丁设置号码

Oracle 的版本号很多,先看11g的一个版本号说明:

 

注意: 

       oracle 9.2 版本之后, oracle maintenance release number 是在第二数字位更改。 而在之前,是在第三个数字位。

 

1. Major Database Release Number

       第一个数字位,它代表的是一个新版本软件,也标志着一些新的功能。如11g10g

 

2. Database Maintenance Release Number

       第二个数字位,代表一个maintenance release 级别,也可能包含一些新的特性。

 

3. Fusion Middleware Release Number

       第三个数字位,反应Oracle 中间件(Oracle Fusion Middleware)的版本号。

 

4. Component-Specific Release Number

       第四个数字位,主要是针对组件的发布级别。不同的组件具有不同的号码。 比如Oracle patch包。

 

5. Platform-Specific Release Number

       第五个数字位,这个数字位标识一个平台的版本。 通常表示patch 号。

 

 

6. 如何查看版本信息:

1 查看v$version

SQL> select * from v$version;

 

BANNER

----------------------------------------------------------------

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod

PL/SQL Release 10.2.0.4.0 - Production

CORE    10.2.0.4.0      Production

TNS for Linux: Version 10.2.0.4.0 - Production

NLSRTL Version 10.2.0.4.0 - Production

SQL>

 

2PRODUCT_COMPONENT_VERSION 视图

SQL> COL PRODUCT FORMAT A40

SQL> COL VERSION FORMAT A15

SQL> COL STATUS FORMAT A15

SQL> SELECT * FROM PRODUCT_COMPONENT_VERSION;

 

PRODUCT                  VERSION         STATUS

---------------------------------------- --------------- ---------------

NLSRTL                          10.2.0.4.0      Production

Oracle Database 10g Enterprise Edition   10.2.0.4.0      Prod

PL/SQL                             10.2.0.4.0      Production

TNS for Linux:                      10.2.0.4.0      Production

SQL>

 

3dba_registry

SQL> select comp_name,version,status from dba_registry;

 

COMP_NAME                      VERSION         STATUS

------------------------------ --------------- ---------------

Oracle Enterprise Manager      10.2.0.4.0      VALID

Spatial                        10.2.0.4.0      VALID

Oracle interMedia              10.2.0.4.0      VALID

OLAP Catalog                   10.2.0.4.0      VALID

Oracle XML Database            10.2.0.4.0      VALID

Oracle Text                    10.2.0.4.0      VALID

Oracle Expression Filter       10.2.0.4.0      VALID

Oracle Rule Manager            10.2.0.4.0      VALID

Oracle Workspace Manager       10.2.0.4.3      VALID

Oracle Data Mining             10.2.0.4.0      VALID

Oracle Database Catalog Views  10.2.0.4.0      VALID

Oracle Database Packages and T 10.2.0.4.0      VALID

ypes

 

JServer JAVA Virtual Machine   10.2.0.4.0      VALID

Oracle XDK                     10.2.0.4.0      VALID

Oracle Database Java Packages  10.2.0.4.0      VALID

OLAP Analytic Workspace        10.2.0.4.0      VALID

Oracle OLAP API                10.2.0.4.0      VALID

SQL>

 

4v$option 视图

       这个视图是基于底层的X$OPTION 表创建,记录了数据库选件及特性。 根据不同的版本,如标准版,企业版,个人版。 部分选件需要购买相关的许可才可以使用,比如RAC,DG,分区表等。

 

SQL> col PARAMETER format a40

SQL> select * from v$option;

 

PARAMETER                                VALUE

---------------------------------------- ---------------------------------------

Partitioning                             TRUE

Objects                                  TRUE

Real Application Clusters                FALSE

Advanced replication                     TRUE

Bit-mapped indexes                       TRUE

Connection multiplexing                  TRUE

Connection pooling                       TRUE

Database queuing                         TRUE

Incremental backup and recovery          TRUE

Instead-of triggers                      TRUE

Parallel backup and recovery             TRUE

Parallel execution                       TRUE

Parallel load                            TRUE

Point-in-time tablespace recovery        TRUE

Fine-grained access control              TRUE

Proxy authentication/authorization       TRUE

Change Data Capture                      TRUE

Plan Stability                           TRUE

Online Index Build                       TRUE

Coalesce Index                           TRUE

Managed Standby                          TRUE

Materialized view rewrite                TRUE

Materialized view warehouse refresh      TRUE

Database resource manager                TRUE

Spatial                                  TRUE

Visual Information Retrieval             TRUE

Export transportable tablespaces         TRUE

Transparent Application Failover         TRUE

Fast-Start Fault Recovery                TRUE

Sample Scan                              TRUE

Duplexed backups                         TRUE

Java                                     TRUE

OLAP Window Functions                    TRUE

Block Media Recovery                     TRUE

Fine-grained Auditing                    TRUE

Application Role                         TRUE

Enterprise User Security                 TRUE

Oracle Data Guard                        TRUE

Oracle Label Security                    FALSE

OLAP                                     TRUE

Table compression                        TRUE

Join index                               TRUE

Trial Recovery                           TRUE

Data Mining                              TRUE

Online Redefinition                      TRUE

Streams Capture                          TRUE

File Mapping                             TRUE

Block Change Tracking                    TRUE

Flashback Table                          TRUE

Flashback Database                       TRUE

Data Mining Scoring Engine               FALSE

Transparent Data Encryption              TRUE

Backup Encryption                        TRUE

Unused Block Compression                 TRUE

Oracle Database Vault                    FALSE

Real Application Testing                 TRUE

SQL>




阅读(1728) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~