Collaboration - MailのRDエリアをHiRDBのデータベース構成変更ユティリティ(pdmod)を使って作成します。
RDエリアを作成するときの注意事項,および作成方法について説明します。
RDエリアを作成するときの注意事項を次に示します。
次の手順でメール保存用のRDエリアを作成します。
なお,データベース構成変更ユティリティ(pdmod)の詳細は,マニュアル「ノンストップデータベース HiRDB Version 9 コマンドリファレンス(Windows(R)用)」を参照してください。
表2-4 テーブルごとのRDエリアの一覧(メール保存用)
項番 | RDエリア | テーブル | グローバルバッファ |
---|---|---|---|
1 | CMLRDDATA10 | メールテーブル | CMLGBUFDATA10 |
2 | CMLRDDATA20 | 本文テーブル | CMLGBUFDATA20 |
3 | CMLRDDATA30 | 添付ファイルテーブル | CMLGBUFDATA30 |
4 | CMLRDDATA40 | 既読テーブル | CMLGBUFDATA40 |
5 | CMLRDDATA50 | 採番管理1テーブル | CMLGBUFDATA50 |
6 | CMLRDDATA60 | 採番管理2テーブル | CMLGBUFDATA60 |
7 | CMLRDDATA70 |
| CMLGBUFDATA70 |
表2-5 カラムごとのRDエリアの一覧(メール保存用)
項番 | RDエリア | カラム | グローバルバッファ |
---|---|---|---|
1 | CMLRDLOBB10 | 添付ファイルテーブルの内容カラム | CMLGBUFLOBB10 CMLGBUFLOBB11 |
2 | CMLRDLOBD10 | 本文テーブルの全文検索用テキストデータカラム | CMLGBUFLOBD10 CMLGBUFLOBD11 |
3 | CMLRDLOBD20 | 添付ファイルテーブルの全文検索用テキストデータカラム | CMLGBUFLOBD20 CMLGBUFLOBD21 |
表2-6 インデクスごとのRDエリアの一覧(メール保存用)
項番 | RDエリア | インデクス | グローバルバッファ |
---|---|---|---|
1 | CMLRDINDX10 | メールテーブルのインデクス | CMLGBUFINDX10 |
2 | CMLRDINDX20 | 本文テーブルのインデクス(全文検索用テキストデータのインデクスは除く) | CMLGBUFINDX20 |
3 | CMLRDINDX30 | 添付ファイルテーブルのインデクス(全文検索用テキストデータのインデクスは除く) | CMLGBUFINDX30 |
4 | CMLRDINDX40 | 既読テーブルのインデクス | CMLGBUFINDX40 |
5 | CMLRDINDX50 | 次に示すテーブルのインデクス
| CMLGBUFINDX50 |
6 | CMLRDINDX60 | 次に示すテーブルのインデクス
| CMLGBUFINDX60 |
7 | CMLRDLOBI10 | 本文テーブルの全文検索用テキストデータのインデクス | CMLGBUFLOBI10 CMLGBUFLOBI11 |
8 | CMLRDLOBI20 | 添付ファイルテーブルの全文検索用テキストデータのインデクス | CMLGBUFLOBI20 CMLGBUFLOBI21 |
create rdarea CMLRDDATA70 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDDATA70"
initial 20 segments
;
create rdarea CMLRDDATA10 for user used by CML
page 8192 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDDATA10"
initial 16114 segments
;
create rdarea CMLRDDATA20 for user used by CML
page 8192 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDDATA20"
initial 1594 segments
;
create rdarea CMLRDDATA30 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDDATA30"
initial 214 segments
;
create rdarea CMLRDDATA40 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDDATA40"
initial 22339 segments
;
create rdarea CMLRDDATA50 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDDATA50"
initial 1 segments
;
create rdarea CMLRDDATA60 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDDATA60"
initial 1 segments
;
create rdarea CMLRDINDX10 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDINDX10"
initial 2338 segments
;
create rdarea CMLRDINDX20 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDINDX20"
initial 49 segments
;
create rdarea CMLRDINDX30 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDINDX30"
initial 15 segments
;
create rdarea CMLRDINDX40 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDINDX40"
initial 3296 segments
;
create rdarea CMLRDINDX50 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDINDX50"
initial 11 segments
;
create rdarea CMLRDINDX60 for user used by CML
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLRDINDX60"
initial 5 segments
;
create rdarea CMLRDLOBB10 for LOB used by CML
file name "¥tmp¥CMLRDLOBB10"
initial 1875000 segments
;
create rdarea CMLRDLOBD10 for LOB used by CML
file name "¥tmp¥CMLRDLOBD10"
initial 14000 segments
;
create rdarea CMLRDLOBD20 for LOB used by CML
file name "¥tmp¥CMLRDLOBD20"
initial 4750000 segments
;
create rdarea CMLRDLOBI10 for LOB used by CML
file name "¥tmp¥CMLRDLOBI10"
initial 35000 segments
;
create rdarea CMLRDLOBI20 for LOB used by CML
file name "¥tmp¥CMLRDLOBI20"
initial 23750000 segments
;
表2-7 RDエリアの最小セグメント数(メール保存用)
項番 | RDエリア | 最小セグメント数 |
---|---|---|
1 | CMLRDDATA10 | 1 |
2 | CMLRDDATA20 | 1 |
3 | CMLRDDATA30 | 1 |
4 | CMLRDDATA40 | 1 |
5 | CMLRDDATA50 | 1 |
6 | CMLRDDATA60 | 1 |
7 | CMLRDDATA70 | 15 |
8 | CMLRDINDX10 | 14 |
9 | CMLRDINDX20 | 1 |
10 | CMLRDINDX30 | 4 |
11 | CMLRDINDX40 | 1 |
12 | CMLRDINDX50 | 20 |
13 | CMLRDINDX60 | 2 |
14 | CMLRDLOBB10 | 1 |
15 | CMLRDLOBD10 | 500 |
16 | CMLRDLOBD20 | 500 |
17 | CMLRDLOBI10 | 48,758 |
18 | CMLRDLOBI20 | 48,758 |
pdmod -a D:¥sample¥hptl_clb_cml_area.sql
次の手順でメール保存用のRDエリアを作成します。
なお,データベース構成変更ユティリティ(pdmod)の詳細は,マニュアル「ノンストップデータベース HiRDB Version 9 コマンドリファレンス(Windows(R)用)」を参照してください。
表2-8 テーブルごとのRDエリアの一覧(宛先台帳用)
項番 | RDエリア | テーブル | グローバルバッファ |
---|---|---|---|
1 | CMLADBKDATA1 |
| CMLADBKDATA1 |
2 | CMLADBKDATA2 | 宛先情報テーブル | CMLADBKDATA2 |
表2-9 インデクスごとのRDエリアの一覧(宛先台帳用)
項番 | RDエリア | インデクス | グローバルバッファ |
---|---|---|---|
1 | CMLADBKIDX1 | 次に示すテーブルのインデクス
| CMLADBKIDX1 |
2 | CMLADBKIDX2 | 宛先情報テーブルのインデクス | CMLADBKIDX2 |
3 | CMLADBKIDX3 | アクセス権テーブルのインデクス(IDX_ACCOBJID) | CMLADBKIDX3 |
create rdarea CMLADBKDATA1 for user used by CMLADBK
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLADBKDATA1"
initial 50 segments;
create rdarea CMLADBKDATA2 for user used by CMLADBK
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLADBKDATA2"
initial 1400 segments;
create rdarea CMLADBKIDX1 for user used by CMLADBK
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLADBKIDX1"
initial 70 segments;
create rdarea CMLADBKIDX2 for user used by CMLADBK
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLADBKIDX2"
initial 800 segments;
create rdarea CMLADBKIDX3 for user used by CMLADBK
page 4096 characters
storage control segment 20 pages
file name "¥tmp¥CMLADBKIDX3"
initial 5 segments;
表2-10 RDエリアの最小セグメント数(宛先台帳用)
項番 | RDエリア | 最小セグメント数 |
---|---|---|
1 | CMLABRDDATA1 | 4 |
2 | CMLABRDDATA2 | 1 |
3 | CMLABRDIDX1 | 6 |
4 | CMLABRDIDX2 | 3 |
5 | CMLABRDIDX3 | 1 |
pdmod -a D:¥work¥pdmod_rdarea.sql