InfiniDBのバージョンを確認する方法は複数あります。
ここでは、簡単に確認できる方法をいくつかご紹介します。
InfiniDBにログインする
InfiniDBにログインすると最初に表示されるメッセージ内で、InfiniDBのバージョンが確認できます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
# idbmysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 61 Server version: 5.1.73-log InfiniDB 4.5.2-1 Copyright (c) 2014, InfiniDB, Inc. and/or its affiliates. All rights reserved. Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. InfiniDB is a registered trademark of InfiniDB, Inc. and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. |
4行目の「Server version: 5.1.73-log InfiniDB 4.5.2-1」の「InfiniDB 4.5.2」がInfiniDBのバージョンです。
※「Server version: 5.1.73-log」は内部で利用しているMySQLのバージョンです。
SHOW VARIABLESで確認する
SHOW VARIABLESのversion_commentで、InfiniDBのバージョンが確認できます。
1 2 3 4 5 6 7 |
mysql> SHOW VARIABLES like 'version_comment'; +-----------------+------------------+ | Variable_name | Value | +-----------------+------------------+ | version_comment | InfiniDB 4.5.2-1 | +-----------------+------------------+ 1 row in set (0.00 sec) |
cc getCalpontSoftwareInfoで確認する
InfiniDBがインストールされているサーバ上でcc getCalpontSoftwareInfoを実行すると、以下のように確認することができます。
1 2 3 4 5 6 |
#cc getCalpontSoftwareInfo getcalpontsoftwareinfo Tue Aug 26 08:17:23 2014 SoftwareVersion = 4.5.2 SoftwareRelease = 1 |
5行目の「SoftwareVersion = 4.5.2」がInfiniDBのバージョンです。
releasenumファイルを確認する
InfiniDBがインストールされているサーバの/usr/local/Calpont/内にあるreleasenumファイルでも確認することができます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# cat /usr/local/Calpont/releasenum # $Id: releasenum 1851 2013-03-22 20:48:04Z dhill $ version=4.5.2 release=1 Name : infinidb-platform Relocations: (not relocatable) Version : 4.5.2 Vendor: InfiniDB, Inc. Release : 1 Build Date: Wed 23 Jul 2014 09:54:37 AM CDT Install Date: Wed 23 Jul 2014 09:58:03 AM CDT Build Host: srvperf1.calpont.com Group : Applications Source RPM: infinidb-4.5.2-1.src.rpm Size : 25126090 License: Copyright (c) 2014 InfiniDB, Inc., all rights reserved Signature : (none) Packager : nightly <nightly@calpont.com> URL : http://www.calpont.com/ Summary : InfiniDB software binaries Description : InfiniDB binary files Build Flags: -O3 -fno-strict-aliasing -fno-tree-vectorize -g0 -O3 -fno-strict-aliasing -fno-tree-vectorize -flto commit 4af02660732269865a4f931bcda71d907f990241 Date: Wed Jul 23 09:09:00 2014 -0500 |
4行目の「version=4.5.2」、または8行目の「Version : 4.5.2」がInfiniDBのバージョンです。
参考情報
InfiniDBのバージョン番号http://infinidb-tech.ashisuto.co.jp/infinidb-version-number/