查看DB2数据库版本

1.db2level
$ db2level
DB21085I Instance "db2inst1" uses "64" bits and DB2 code release "SQL09050"
with level identifier "03010107".
Informational tokens are "DB2 v9.5.0.0", "s071001", "SUN6495", and Fix Pack
"0".
Product is installed at "/opt/IBM/db2/V9.5".

2.db2licm -l
该命令不光能看数据库版本,还能看到相关的license信息。
$ db2licm -l
Product name:                     "DB2 Enterprise Server Edition"
License type:                     "CPU Option"
Expiry date:                      "Permanent"
Product identifier:               "db2ese"
Version information:              "9.5"
Features:
DB2 Database Partitioning:        "Not licensed"
DB2 Performance Optimization ESE: "Not licensed"
DB2 Storage Optimization:         "Not licensed"
DB2 Advanced Access Control:      "Not licensed"
DB2 Geodetic Data Management:     "Not licensed"
DB2 pureXML ESE:                  "Not licensed"
IBM Homogeneous Federation ESE:   "Not licensed"
IBM Homogeneous Replication ESE: "Not licensed"

你可能感兴趣的:(数据库,db2,IBM,performance,features,optimization)