ajsembdbstatus
形式
ajsembdbstatus {-s [ust|prc|usta] | -db [-d] | -l | -c} [-id 組み込みDBセットアップ識別子]
形式1(組み込みDBの稼働状態の監視1)
ajsembdbstatus -s ust [-id 組み込みDBセットアップ識別子]
形式2(組み込みDBの稼働状態の監視2)
ajsembdbstatus -s usta [-id 組み込みDBセットアップ識別子]
形式3(組み込みDBのプロセスの状態の監視)
ajsembdbstatus -s prc [-id 組み込みDBセットアップ識別子]
形式4(組み込みDBのデータベース領域の監視)
ajsembdbstatus -db [-d] [-id 組み込みDBセットアップ識別子]
形式5(組み込みDBのシステムログの監視)
ajsembdbstatus -l [-id 組み込みDBセットアップ識別子]
形式6(組み込みDBの構成情報の出力)
ajsembdbstatus -c [-id 組み込みDBセットアップ識別子]
機能
組み込みDBを監視します。監視できる項目を次に示します。
-
組み込みDBの稼働状態
-
組み込みDBのプロセスの状態
-
組み込みDBのデータベース領域
-
組み込みシステムDBのログ
組み込みDBのデータベース領域を監視する(-dbオプションの指定)場合,または組み込みDBのプロセスの状態を監視する(-s prcオプションの指定)場合,組み込みDBが稼働中に実行してください。その他の場合には,稼働状態に関係なく実行できます。
また,JP1/AJS3の稼働状態には関係なく実行できます。
実行権限
Windowsの場合:Administrators権限
UNIXの場合:スーパーユーザー権限
格納先ディレクトリ
- Windowsの場合
-
JP1/AJS3 - Managerインストール先フォルダ\tools\
- UNIXの場合
-
/opt/jp1ajs2/tools/
引数
-s {ust|prc|usta}
組み込みDBの状態について監視します。
-
ust
組み込みDBの起動・停止などの稼働状態を表示します。
-
prc
組み込みDBのプロセスの状態を表示します。
組み込みDBを操作するコマンドなどが,組み込みDBに対してアクセスしているかどうかを確認する場合に使用します。また,ajsembdbcancelコマンドで組み込みDBにアクセスしているコマンドを中断するときに必要な,サーバ名,またはプログラム名称を取得する場合に使用します。
-
usta
ustオプション指定時に表示する内容に加えて,組み込みDBの開始状態を表示します。
-db
組み込みDBのデータベース領域について監視します。
メンテナンス時期や,データベース領域の状態を確認する場合に使用します。
-d
データベースの情報を詳細に表示する場合に指定します。
このオプションを指定すると,ajsembdbreclaimコマンドで解放できるページ数を確認できます。
-l
組み込みDBのシステムログについて監視します。
組み込みDBのバックアップまたはリストア時に,システムログファイルの状態を確認する場合に使用します。
-c
組み込みDBの構成情報を出力します。
組み込みDBのバックアップまたはリストア時に,組み込みDBデータ領域ディレクトリを確認する場合や,クラスタ運用のセットアップ時に実行系と待機系の設定が正しいかどうかを確認する場合に使用します。なお,このオプションは,JP1/AJS3 10-00以降で構築された組み込みDBに対して実行した場合にだけ有効です。09-50以前に構築された組み込みDBに対して実行した場合は,メッセージKAVS2129-Iが出力され,コマンドは異常終了します。
-id 組み込みDBセットアップ識別子
組み込みDBを識別するセットアップ識別子を「_JFn」(nは0〜9またはA〜Z)の4文字で指定します。ajsembdbbuildコマンドの-idオプションで指定した値を指定してください。
jajs_setupコマンド,jajs_setup_clusterコマンド,およびjajs_migrateコマンドで作成された組み込みDBに対して操作を行う場合,ajsembdbidlistコマンドで操作対象となる組み込みDBのセットアップ識別子を確認してください。ajsembdbidlistコマンドについては,「2. セットアップコマンド ajsembdbidlist」を参照してください。
このオプションを省略した場合は,_JF0が仮定されます。
注意事項
-
このコマンドはスクリプトで実装されています。このため,オプションに不当に長い文字列や不正な文字列や値を指定すると,予期しないエラーが発生することがあります。オプション指定値は,DBMSおよびJP1/AJS3で規定されている範囲内の文字列または数値を指定してください。
-
JP1/AJS3運用中の状態でajsembdbstatusコマンドに-dbオプションまたは-lオプションを指定して実行した場合,出力される情報が最新の状態とは限りません。コマンド実行時に最新の状態を取得したい場合は,ジョブの定義や実行など,ユニットに対して操作していない状態で実行してください。
-
ajsembdbstatusコマンドを同じ組み込みDBに対して同時に複数実行すると,ログの出力処理で競合して,出力結果の行と行の間に次のメッセージが出力される場合があります。
「プロセスはファイルにアクセスできません。別のプロセスが使用中です。」
出力結果の内容に問題はありませんので,このメッセージが出力された場合は,無視してください。
戻り値
0 |
正常終了。 |
1 |
組み込みDBが起動・停止処理中である。 |
2 |
組み込みDBが停止中である。 |
4,8,12 |
異常終了。 |
16 |
|
エラー時の対処
コマンドエラー発生時は,次に示す表に従って対処してください。
メッセージID |
現象 |
対処方法 |
---|---|---|
KAVS0996-E |
指定したオプションに誤りがあります。 |
オプションの指定内容を見直してください。 |
KAVS2101-E |
組み込みDBは停止中です。 |
組み込みDBを起動してから再実行してください。 |
KAVS2102-E |
組み込みDBは起動・停止処理中です。 |
組み込みDBの起動をajsembdbstatusコマンドの-s ustオプション指定で確認してから再実行してください。 |
KAVS2104-E |
組み込みDBがセットアップされていません。 |
組み込みDBをセットアップしてから再実行してください。 |
KAVS2116-E |
指定したオプションに誤りがあります。 |
メッセージに出力されているオプションを見直して再実行してください。 |
KAVS2117-E |
コマンド実行時にエラーが発生しました。 |
保守情報に出力されているメッセージを参照してください。 |
出力例
組み込みDBの稼働状態を確認する場合
ajsembdbstatus -s usta -id _JF0 HOSTNAME : 127.0.0.1(144852) SYSTEMID : ajs2 UNITID : unt1 ENTRYHOST : 127.0.0.1 PAIRHOST : UNIT-STAT FES-STAT SETUP-STAT ONLINE ******** SETUP START-OPT : NORMAL
- HOSTNAME
-
「127.0.0.1」が表示されます。
( )内は,ajsembdbstatusコマンドを実行した時刻が時分秒(HHMMSS)で出力されます。
- 注意事項
-
次のどれかに該当する場合は,組み込みDBインストール先ディレクトリのホスト名が32文字以内で出力されます。クラスタ構成の場合は,初めに実行系に設定したホスト名が出力されます。
-
バージョンが09-50以前のWindows版JP1/AJS3 - Managerを使用していて,かつ論理ホストで組み込みDBを構築した場合
-
バージョンが09-50以前のUNIX版JP1/AJS3 - Managerを使用している場合
-
バージョンが09-50以前のJP1/AJS3 - Managerを10-00以降にバージョンアップインストールしていて,かつIPv6で通信するためのセットアップをしていない場合
-
- SYSTEMID
-
組み込みDBの識別子が4文字で出力されます。JP1/AJS3では,「ajs2」固定です。
- UNITID
-
システム固有の識別子が4文字で出力されます。JP1/AJS3では,「unt1」固定です。
- ENTRYHOST
-
「127.0.0.1」が表示されます。
- 注意事項
-
次のどれかに該当する場合は,ajsembdbstatusコマンドを実行したホスト名が出力されます。
-
バージョンが09-50以前のWindows版JP1/AJS3 - Managerを使用していて,かつ論理ホストで組み込みDBを構築した場合
-
バージョンが09-50以前のUNIX版JP1/AJS3 - Managerを使用している場合
-
バージョンが09-50以前のJP1/AJS3 - Managerを10-00以降にバージョンアップインストールしていて,かつIPv6で通信するためのセットアップをしていない場合
-
- PAIRHOST
-
常に空白です。
- UNIT-STAT
-
システムの状態が出力されます。
PAUSE:組み込みDBの再起動中断状態※
STOP:停止状態
STARTING:開始途中
ONLINE:稼働状態
STOPPING:停止途中
- 注※
-
組み込みDBが異常終了し,組み込みDBが独自に実施する再起動で回復できない状態です。
- FES-STAT
-
常に「********」が出力されます。
- SETUP-STAT
-
セットアップの状態が出力されます。
- SETUP:
-
Windowsの場合はajsembdbbuildコマンド実行済みで組み込みDBのサービスが稼働中,UNIXの場合はajsembdbbuildコマンド実行済みであることを示します。
- UNSETUP:
-
Windowsの場合は組み込みDBのサービスが停止中,UNIXの場合はajsembdbunsetコマンドに-rオプションを指定して実行した状態であることを示します。
- START-OPT(-s ustaオプション指定時)
-
組み込みDBの開始状態が出力されます。
NORMAL:通常の組み込みDB開始状態
RECOVERY:組み込みDBのシステム領域を回復する場合の開始状態(ajsembdbstartコマンド-rオプション指定)
********:組み込みDBが開始していない
組み込みDBのプロセスの状態を確認する場合
ajsembdbstatus -s prc -id _JF0 HOSTNAME : 127.0.0.1(110440) STATUS PID UID GID SVID TIME PROGRAM C-PID C-GRP L 856 0 0 ajs2 102826 ajsschd 3568(XXX.YYY...) L 1868 0 0 ajs2 102832 ajsflowd 3604(XXX.YYY...) L 2080 0 0 ajs2 102835 ajssubd 3792(XXX.YYY...) L 2116 0 0 ajs2 999999 L 2136 0 0 ajs2 999999 :
- HOSTNAME
-
「127.0.0.1」が表示されます。
( )内は,ajsembdbstatusコマンドを実行した時刻が時分秒(HHMMSS)で出力されます。
- 注意事項
-
次のどれかに該当する場合は,組み込みDBインストール先ディレクトリのホスト名が32文字以内で出力されます。クラスタ構成の場合は,初めに実行系に設定したホスト名が出力されます。
-
バージョンが09-50以前のWindows版JP1/AJS3 - Managerを使用していて,かつ論理ホストで組み込みDBを構築した場合
-
バージョンが09-50以前のUNIX版JP1/AJS3 - Managerを使用している場合
-
バージョンが09-50以前のJP1/AJS3 - Managerを10-00以降にバージョンアップインストールしていて,かつIPv6で通信するためのセットアップをしていない場合
-
- STATUS
-
組み込みDBが起動しているアクセス用のプロセスの状態が出力されます。
D:開始処理中または終了処理中
L:稼働中
- PID
-
プロセスIDが10けた以内の10進数で出力されます。
- UID
-
常に0が出力されます。
- GID
-
常に0が出力されます。
- SVID
-
プロセスのサーバ名が出力されます。JP1/AJS3で使用しているプロセスについては「ajs2」が出力されます。組み込みDBを操作するコマンドを実行すると,ajsembdbcancelコマンドの-uオプションに指定する情報が出力されることがあります。
- TIME
-
組み込みDBとの接続時刻が時分秒(HHMMSS)で出力されます。
- PROGRAM
-
JP1/AJS3のコマンドプロセス,またはデーモンプロセスの名称が30文字以内で出力されます。
組み込みDBを操作するコマンドを実行すると,実行したコマンド名称以外が出力されることがあります。ajsembdbcancelコマンドの-uオプションに指定する情報が出力されます。
- C-PID
-
組み込みDBと接続していたJP1/AJS3デーモンプロセスまたはコマンドプロセスのプロセスIDが10けた以内の10進数で出力されます。( )内は,IPアドレスが15文字以内で出力されます。
接続していないプロセスについては出力されません。
- C-GRP
-
常に空白です。
組み込みDBのデータベース領域の状態を確認する場合
ajsembdbstatus -db -id _JF0 1684 hh:mm:ss unt1 _pd0dbst KFPK10300-I Pddbst started 1684 hh:mm:ss unt1 _pd0dbst KFPK10301-I Pddbst terminated, return code=0 pddbst 08-05(Object Option) ** RD Area Logical Analysis ** YYYY/MM/DD hh:mm:ss RD Area Name : AJS2DATA Server : ajs2 Total Segment : 301 Segment Size : 10 Pages Unused Segment: 297 Page Size : 30720 Bytes History1 Hold Status : Hold Code : 0 Hold Time : History2 Hold Status : Hold Code : 0 Hold Time : ------------------------------------------------------------------ Table Name : AJS1ARROW Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 (1)Used(Full) (2)Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1BODY Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1CAL Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1ENTRY Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1GEN Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1ID Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Table Name : AJS1PERF Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1RELS Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1SCH Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1STAT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 48 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJS1UNIT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Table Name : AJSAGTEXECCNT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 3 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Table Name : AJSEXECAGT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 3 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Table Name : AJSEXECAGTGRP Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 3 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Table Name : AJSLINKAGT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 3 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 3649 hh:mm:ss unt1 _pd0dbst KFPK10300-I Pddbst started 3649 hh:mm:ss unt1 _pd0dbst KFPK10301-I Pddbst terminated, return code=0 pddbst 08-05(Object Option) ** RD Area Logical Analysis ** YYYY/MM/DD hh:mm:ss RD Area Name : AJS2DATA2 Server : ajs2 Total Segment : 100 Segment Size : 100 Pages Unused Segment: 100 Page Size : 30720 Bytes History1 Hold Status : Hold Code : 0 Hold Time : History2 Hold Status : Hold Code : 0 Hold Time : ------------------------------------------------------------------ Table Name : AJS1JINF Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 70 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 <BINARY segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 3952 hh:mm:ss unt1 _pd0dbst KFPK10300-I Pddbst started 3952 hh:mm:ss unt1 _pd0dbst KFPK10301-I Pddbst terminated, return code=0 pddbst 08-05(Object Option) ** RD Area Logical Analysis ** YYYY/MM/DD hh:mm:ss RD Area Name : AJS2INDX Server : ajs2 Total Segment : 904 Segment Size : 10 Pages Unused Segment: 885 Page Size : 4096 Bytes History1 Hold Status : Hold Code : 0 Hold Time : History2 Hold Status : Hold Code : 0 Hold Time : ------------------------------------------------------------------ Index Name : AJS1ARROWINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1BODYINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1CALINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1ENTRYINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1GENINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1IDINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1PERFINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1PERFINDEX2 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1RELSINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1RELSINDEX2 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1RELSINDEX3 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1SCHINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1STATINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1UNITINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1UNITINDEX2 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJSAGTEXECCNTINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJSEXECAGTGRPINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJSEXECAGTINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJSLINKAGTINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 3667 hh:mm:ss unt1 _pd0dbst KFPK10300-I Pddbst started 3667 hh:mm:ss unt1 _pd0dbst KFPK10301-I Pddbst terminated, return code=0 pddbst 08-05(Object Option) ** RD Area Logical Analysis ** YYYY/MM/DD hh:mm:ss RD Area Name : AJS2INDX2 Server : ajs2 Total Segment : 3000 Segment Size : 10 Pages Unused Segment: 2998 Page Size : 4096 Bytes History1 Hold Status : Hold Code : 0 Hold Time : History2 Hold Status : Hold Code : 0 Hold Time : ------------------------------------------------------------------ Index Name : AJS1JINFINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Index Name : AJS1JINFINDEX2 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0
- RD Area Name
-
JP1/AJS3で使用している領域の名称が出力されます。
AJS2DATA,AJS2DATA2※:テーブル領域
AJS2INDX,AJS2INDX2※:インデクス領域
- 注※
-
AJS2DATA2,AJS2INDX2の情報は,バックアップ強化機能が有効な場合にだけ出力されます。
- Server
-
常に「ajs2」が出力されます。
- Total Segment
-
出力している領域の総セグメント数が出力されます。
- Unused Segment
-
出力している領域の未使用セグメント数の合計が出力されます。
- Segment Size
-
1セグメント内のページ数が出力されます。
- Page Size
-
1ページのサイズがバイト単位で出力されます。
- History1 Hold Status Code,Hold Code,Hold Time
-
システムが使用する情報です。
- History2 Hold Status Code,Hold Code,Hold Time
-
システムが使用する情報です。
- Table Name
-
JP1/AJS3で使用しているテーブル名が出力されます。
- Index Name
-
JP1/AJS3で使用しているインデクス名が出力されます。
- Auth Id
-
テーブルまたはインデクスの認可識別子が出力されます。JP1/AJS3では,通常「root」が出力されます。
- Segment Reuse
-
空き領域の再利用機能の,再利用開始ポイントの設定値(セグメント数)が出力されます。空き領域の再利用機能を無効にしている場合は,「-(ハイフン)」が出力されます。
- Collect On Segment
-
ajsembdbreclaimコマンドが実行中,またはajsembdbreclaimコマンドが正常終了しなかったことで,解放処理が途中の状態のセグメント数が出力されます。
- Status,Reference Pending Status,Check Pending Status,Search Mode,Reuse Search Failure
-
システムで使用する情報です。
- (1)Used(Full)
-
使用中セグメント数または使用中ページ数の比率が出力されます。()内は,そのうちの満杯セグメントまたは満杯ページの比率が出力されます。
- (2)Used( Full)
-
使用中セグメント数または使用中ページの数が出力されます。()内は,そのうちの満杯セグメントまたは満杯ページの数が出力されます。
- Sum
-
テーブルまたはインデクスに割り当てられているセグメント数またはページ数の合計が出力されます。
組み込みDBのデータベース領域の詳細を確認する場合
ajsembdbstatus -db -d -id _JF0 3240 hh:mm:ss unt1 _pd0dbst KFPK10300-I Pddbst started 3240 hh:mm:ss unt1 _pd0dbst KFPK10301-I Pddbst terminated, return code=0 pddbst 08-05(Object Option) ** RD Area Logical Analysis ** YYYY/MM/DD hh:mm:ss RD Area Name : AJS2DATA Server : ajs2 Total Segment : 301 Segment Size : 10 Pages Unused Segment: 297 Page Size : 30720 Bytes History1 Hold Status : Hold Code : 0 Hold Time : History2 Hold Status : Hold Code : 0 Hold Time : ------------------------------------------------------------------ Table Name : AJS1ARROW Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1BODY Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1CAL Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1ENTRY Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1GEN Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1ID Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 1( 10%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Table Name : AJS1PERF Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1RELS Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1SCH Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1STAT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 48 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJS1UNIT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 18 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 1( 10%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Table Name : AJSAGTEXECCNT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 3 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 1( 10%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Table Name : AJSEXECAGT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 3 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 1( 10%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Table Name : AJSEXECAGTGRP Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 3 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 Table Name : AJSLINKAGT Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 3 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 3711 hh:mm:ss unt1 _pd0dbst KFPK10300-I Pddbst started 3711 hh:mm:ss unt1 _pd0dbst KFPK10301-I Pddbst terminated, return code=0 pddbst 08-05(Object Option) ** RD Area Logical Analysis ** YYYY/MM/DD hh:mm:ss RD Area Name : AJS2DATA2 Server : ajs2 Total Segment : 100 Segment Size : 100 Pages Unused Segment: 100 Page Size : 30720 Bytes History1 Hold Status : Hold Code : 0 Hold Time : History2 Hold Status : Hold Code : 0 Hold Time : ------------------------------------------------------------------ Table Name : AJS1JINF Auth Id : root Status : Reference Pending Status : Check Pending Status : Segment Reuse : 70 segments <Base row segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 <BINARY segment> Search Mode : INS Reuse Search Failure : 0/ 0 Used(Full) Used( Full) Sum Segment 0%( 0%) 0( 0) 0 Page 0%( 0%) 0( 0) 0 Collect On Segment : 0 Collect Prearranged Page : 0 Used Page Ratio Page(Ratio) 0% : 0( 0%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 0 4872 hh:mm:ss unt1 _pd0dbst KFPK10300-I Pddbst started 4872 hh:mm:ss unt1 _pd0dbst KFPK10301-I Pddbst terminated, return code=0 pddbst 08-05(Object Option) ** RD Area Logical Analysis ** YYYY/MM/DD hh:mm:ss RD Area Name : AJS2INDX Server : ajs2 Total Segment : 904 Segment Size : 10 Pages Unused Segment: 885 Page Size : 4096 Bytes History1 Hold Status : Hold Code : 0 Hold Time : History2 Hold Status : Hold Code : 0 Hold Time : ------------------------------------------------------------------ Index Name : AJS1ARROWINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1BODYINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1CALINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1ENTRYINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1GENINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1IDINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 1( 10%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1PERFINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1PERFINDEX2 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1RELSINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1RELSINDEX2 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1RELSINDEX3 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1SCHINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1STATINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1UNITINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 1( 10%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1UNITINDEX2 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 1( 10%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJSAGTEXECCNTINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 1( 10%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJSEXECAGTGRPINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJSEXECAGTINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 0 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 9( 90%) 1- 10% : 1( 10%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJSLINKAGTINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 3729 hh:mm:ss unt1 _pd0dbst KFPK10300-I Pddbst started 3729 hh:mm:ss unt1 _pd0dbst KFPK10301-I Pddbst terminated, return code=0 pddbst 08-05(Object Option) ** RD Area Logical Analysis ** YYYY/MM/DD hh:mm:ss RD Area Name : AJS2INDX2 Server : ajs2 Total Segment : 3000 Segment Size : 10 Pages Unused Segment: 2998 Page Size : 4096 Bytes History1 Hold Status : Hold Code : 0 Hold Time : History2 Hold Status : Hold Code : 0 Hold Time : ------------------------------------------------------------------ Index Name : AJS1JINFINDEX1 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10 Index Name : AJS1JINFINDEX2 Auth Id : root Status : Used(Full) Used( Full) Sum Segment 100%( 0%) 1( 0) 1 Page 10%( 0%) 1( 0) 10 Collect On Segment : 0 Collect Prearranged Page : 1 Collect On Page : 0 Used Page Ratio Page(Ratio) 0% : 10( 100%) 1- 10% : 0( 0%) 11- 20% : 0( 0%) 21- 30% : 0( 0%) 31- 40% : 0( 0%) 41- 50% : 0( 0%) 51- 60% : 0( 0%) 61- 70% : 0( 0%) 71- 80% : 0( 0%) 81- 90% : 0( 0%) 91-100% : 0( 0%) Total 10
- Collect Prearranged Page
-
ajsembdbreclaimコマンドで解放できる領域がページ数で出力されます。
この値を参照してajsembdbreclaimコマンドの実行時期を検討してください。
この値が0の場合,ajsembdbreclaimコマンドを実行しても領域が解放されません。目安としては,使用中であるページの3〜5割程度の値で実行することを推奨します。ただし,使用中のページが50ページ以下の場合,それほど効果が期待できません。また,使用ページ数が10,000を超えるような場合,2〜3割程度の値で実施することを推奨します。
- Collect On Page
-
ajsembdbreclaimコマンドが実行中,またはajsembdbreclaimコマンドが正常終了しなかったことで,解放処理が途中の状態のページ数が出力されます。
- Used Page Ratio,Page(Ratio)
-
テーブルまたはインデクスに割り当てられている領域(ページ)の詳細情報が出力されます。
パーセンテージが大きい範囲にあるページが多いほど格納効率がよく,少ないほど格納効率が悪くなっています。
また,( )内のパーセンテージは,小数点以下を切り上げているので,合計すると100%を超えることがあります。
組み込みDBのシステムログを確認する場合
ajsembdbstatus -l -id _JF0 HOSTNAME : 127.0.0.1(201942) Group Type Server Gen No. Status Run ID Block No. Ex-Status log1 sys ajs2 1 oc-d--u 433a0c53 1 ae -x------ log2 sys ajs2 0 os----- 00000000 0 0 -u------ log3 sys ajs2 0 os----- 00000000 0 0 -u------ log4 sys ajs2 0 os----- 00000000 0 0 -u------ log5 sys ajs2 0 os----- 00000000 0 0 -u------ log6 sys ajs2 0 os----- 00000000 0 0 -u------ log7 sys ajs2 0 os----- 00000000 0 0 -u------ log8 sys ajs2 0 os----- 00000000 0 0 -u------ log9 sys ajs2 0 os----- 00000000 0 0 -u------ log10 sys ajs2 0 os----- 00000000 0 0 -u------ log11 sys ajs2 0 os----- 00000000 0 0 -u------ log12 sys ajs2 0 os----- 00000000 0 0 -u------
- HOSTNAME
-
「127.0.0.1」が表示されます。
( )内は,ajsembdbstatusコマンドを実行した時刻が時分秒(HHMMSS)で出力されます。
- 注意事項
-
次のどれかに該当する場合は,組み込みDBインストール先ディレクトリのホスト名が32文字以内で出力されます。クラスタ構成の場合は,初めに実行系に設定したホスト名が出力されます。
-
バージョンが09-50以前のWindows版JP1/AJS3 - Managerを使用していて,かつ論理ホストで組み込みDBを構築した場合
-
バージョンが09-50以前のUNIX版JP1/AJS3 - Managerを使用している場合
-
バージョンが09-50以前のJP1/AJS3 - Managerを10-00以降にバージョンアップインストールしていて,かつIPv6で通信するためのセットアップをしていない場合
-
- Group
-
組み込みDBのシステムログファイルグループ名が8文字以内で出力されます。
- Type
-
常に「sys」が出力されます。
- Server
-
常に「ajs2」が出力されます。
- Gen No.
-
システムログの世代番号が8けた以内の16進数で出力されます。組み込みDBで使用しているシステムログの順序性を表していて,1から順番に採番されます。最後尾のシステムログファイルグループを使い切った場合,先頭のシステムログファイルグループに戻って使用されます。この場合に,システムログの世代番号も更新されます。
- Status
-
システムログファイルグループの状態が7文字で出力されます。
- 1文字目:
-
システムログファイルグループのオープン状態
o:オープン中
c:クローズ中
組み込みDBが起動中はo,停止中はcとなります。
- 2文字目:
-
システムログファイルグループの現在の状態
c:現用
s:待機中
n:予約
運用中では,現在使用しているシステムログファイルグループがc,それ以外のシステムログファイルグループがsとなります。
組み込みDBが停止中,またはシステムログファイルがあるディスクがマウントされていないなどでシステムログファイルにアクセスできない場合にnとなります。
- 3文字目:
-
システムログファイルグループのアンロード状態
-
u:アンロード待ち状態
(過去に現用として使用していたが,スワップしたため現用ではなくなりました)
システムログを使用しない運用(組み込みDB環境構築時にajsembdbbuildコマンドの-bsオプションおよび-brオプションを指定していない)の場合は対処不要です。
システムログを使用する運用(組み込みDB環境構築時にajsembdbbuildコマンドの-bsオプションまたは-brオプションを指定している)の場合はアンロードする必要がありますが,通常は自動ログアンロード機能によって自動的にアンロードされます。
-
-:アンロード済み状態
-
- 4文字目:
-
システムログファイルグループが上書きできるか,できないかの状態
-
d:上書きできません(組み込みDBの回復に必要なシステムログを含んでいます)
サーバ内のすべてのシステムログファイルがこの状態の場合,組み込みDBが停止します。この場合にはシステムログファイルを追加してください。
特大なジョブの一括定義などによって,発生する組み込みDBのトランザクションが長大である場合に発生することがあります。
-
-:上書きできます(組み込みDBの回復に必要なシステムログを含んでいません)
-
- 5文字目:
-
システムが使用する内部情報
- 6文字目:
-
システムログファイルグループの使用履歴
-
c:現用として使用しているシステムログファイルグループ
組み込みDBが停止中のときだけ表示されます。
-
- 7文字目:
-
システムが使用する内部情報
- Run ID
-
システムで使用する情報が出力されます。
- Block No.
-
システムログファイルの中の先頭ブロック番号と最終ブロック番号が8けたの16進数で出力されます。
- Ex-Status
-
システムログファイルグループの拡張状態が8文字で出力されます。
- 1文字目:
-
システムが使用する内部情報
- 2文字目:
-
システムログファイルグループの自動拡張状態
u:システムログファイルの自動増分機能の拡張対象である状態
e:システムログファイルの拡張中状態
x:システムログファイルの自動増分機能の拡張対象外である状態
-:システムログファイルの自動増分機能を使用していない状態
- 3文字目:
-
システムログファイルグループの自動拡張可否
-:システムログファイルの自動増分機能で拡張できる
x:システムログファイルの自動増分機能で拡張できない
- 4文字目,5文字目,6文字目,7文字目,8文字目:
-
システムが使用する内部情報
組み込みDBの構成情報を確認する場合
ajsembdbstatus -c -id _JF1 HOSTNAME=lhost1 INSTALLDIR= "C:\Program Files\HITACHI\JP1AJS2\embdb\_JF1" SETUPID=_JF1 RAWFILE= "ajssys01=\\.\D:,ajssys11=\\.\E:" DATADIR= WORKDIR=" C:\Program Files\HITACHI\JP1AJS2\embdb\_JF1\dbarea" EMBDBPORT=22221 DBMODEL=l PHYSICALHOST=phost SYSLOGCNF=single UNLDDIR="C:\Program Files\HITACHI\JP1AJS2\embdb\_JF1\unload" EXTENDDB=no EXTENDLOG=no ENHANCEDBACKUP=yes
- HOSTNAME
-
組み込みDBを構築した際に設定されたホスト名が出力されます。
- INSTALLDIR
-
組み込みDBのインストール先ディレクトリが出力されます。
- SETUPID
-
組み込みDBセットアップ識別子が出力されます。
- RAWFILE
-
組み込みDBのデータ領域およびシステム領域にRAWファイルを使用している場合に,データ領域パーティションが出力されます。これは互換性のために出力している情報です。
- DATADIR
-
組み込みDBのデータ領域ディレクトリが出力されます。システムログ運用をしている場合は,システム領域ディレクトリも出力されます。
- WORKDIR
-
作業領域ディレクトリが表示されます。
- EMBDBPORT
-
組み込みDBのポート番号が表示されます。
- DBMODEL
-
データベースモデルが出力されます。
l:大規模
m:中規模
s:小規模
- PHYSICALHOST
-
クラスタ構成の環境を構築している場合,実行系の物理ホスト名が出力されます。
- SYSLOGCNF
-
システムログ運用の設定が表示されます。
single:システムファイルを二重化しない
dual:システムファイルを二重化する
none:システムログ運用が無効である
- UNLDDIR
-
アンロードログファイルの作成先ディレクトリが出力されます。
システムログ運用をしていない場合は表示されません。
- EXTENDDB
-
データベース領域の自動増分の設定が出力されます。
yes:自動増分する
no:自動増分しない
- EXTENDLOG
-
システムログの自動増分の設定が出力されます。
yes:自動増分する
no:自動増分しない
- ENHANCEDBACKUP
-
バックアップ強化機能の設定が出力されます。組み込みDB構築時のJP1/AJS3のバージョンが12-10より前の場合,この項目は出力されません。
yes:バックアップ強化機能が有効
no:バックアップ強化機能が無効