2.6.2 03-00からバージョンアップする場合に必要な手順

DocumentBroker Standard GUI 03-00からバージョンアップする場合,「2.6.1 バージョンアップする手順」の手順に加えてここで説明している手順が必要になります。

<この項の構成>
(1) メタ情報の追加
(2) インデクスの追加

(1) メタ情報の追加

DocumentBroker Serverのメタ情報の追加コマンド(EDMAddMeta)を実行して,定義情報ファイルのクラスの定義をメタ情報へ追加します。EDMAddMeta実行時には引数「-g」,および「-o」を指定し,出力されたデータベース定義文にエリア定義などの必要な項目を追加,または修正してからデータベースを作成してください。

DocumentBroker Standard GUIでは,定義情報ファイルのサンプルファイル({DocumentBroker Standard GUIのインストールフォルダ}¥sample¥meta¥EcmGuiAddDef_0300_0310.txt)を提供しています。定義情報ファイルのサンプルファイル名「EcmGuiAddDef_0300_0310.txt」を引数に指定して,メタ情報の追加コマンドを実行してください。

メタ情報の追加コマンドの詳細は,マニュアル「DocumentBroker Version 3 システム導入・運用ガイド」を参照してください。

メタ情報を追加したあと,DocumentBroker Serverのクラス定義情報ファイル作成コマンド(EDMCrtSimMeta)を実行し,クラス定義情報ファイルを作成してください。出力されたクラス定義情報ファイル(文書空間識別子ini)を次に示すフォルダにコピーしてください。

(2) インデクスの追加

HiRDBのデータベース定義ユティリティ(pddef)を実行してインデクスを追加します。

HiRDBの定義系SQLのCREATEINDEXでインデクスを定義したインデクス情報ファイルを作成します。このインデクス情報ファイルを入力ファイルとして,HiRDBでデータベース定義ユティリティを実行してください。

HiRDBのデータベース定義ユティリティについては,マニュアル「HiRDB コマンドリファレンス」を参照してください。

インデクス情報ファイルの作成例を次に示します。

(例)

CREATE INDEX "ecmClass_FileDocDVXX"
  ON "ecmClass_FileDocDV"("ecmProp_V_ecmProp_FldOiid") IN (INDEXAREA);
CREATE INDEX "ecmClass_FlowXX"
  ON "ecmClass_Flow"("ecmProp_Req_dmaProp_OIID") IN (INDEXAREA);
CREATE INDEX "ecmClass_FlowXX"
  ON "ecmClass_Flow"("ecmProp_Req_ecmProp_Id") IN (INDEXAREA);

(凡例)
XX:同じ表に対してインデクスを定義する場合,インデクスごとに異なる文字列を指定してください。
INDEXAREA:インデクスを格納するRDエリアの名称です。環境に合わせて格納するRDエリアを決めてください。

インデクスを定義する表と列を次の表に示します。

表2-30 インデクスを定義する表と列

インデクスを定義する表インデクスを定義する列
ecmClass_DocContainerecmProp_DocTypeOIID
ecmClass_FileDocDVecmProp_DocTypeOIID
ecmProp_DocNumber
ecmProp_DocNumberSetUserID
ecmProp_DocNumberSetUserName
ecmProp_DocNumberSetTime
ecmProp_DocTypePropInt1
ecmProp_DocTypePropInt2
ecmProp_DocTypePropInt3
ecmProp_DocTypePropInt4
ecmProp_DocTypePropInt5
ecmProp_DocTypePropInt6
ecmProp_DocTypePropInt7
ecmProp_DocTypePropInt8
ecmProp_DocTypePropInt9
ecmProp_DocTypePropInt10
ecmProp_DocTypePropStr1
ecmProp_DocTypePropStr2
ecmProp_DocTypePropStr3
ecmProp_DocTypePropStr4
ecmProp_DocTypePropStr5
ecmProp_DocTypePropStr6
ecmProp_DocTypePropStr7
ecmProp_DocTypePropStr8
ecmProp_DocTypePropStr9
ecmProp_DocTypePropStr10
ecmProp_CHOiid
dbuUserProp_ReservedUserName
ecmProp_DocType
ecmProp_ExtStr2
ecmClass_FlowDocDVecmProp_DocTypeOIID
ecmProp_DocNumber
ecmProp_DocNumberSetUserID
ecmProp_DocNumberSetUserName
ecmProp_DocNumberSetTime
ecmProp_DocTypePropInt1
ecmProp_DocTypePropInt2
ecmProp_DocTypePropInt3
ecmProp_DocTypePropInt4
ecmProp_DocTypePropInt5
ecmProp_DocTypePropInt6
ecmProp_DocTypePropInt7
ecmProp_DocTypePropInt8
ecmProp_DocTypePropInt9
ecmProp_DocTypePropInt10
ecmProp_DocTypePropStr1
ecmProp_DocTypePropStr2
ecmProp_DocTypePropStr3
ecmProp_DocTypePropStr4
ecmProp_DocTypePropStr5
ecmProp_DocTypePropStr6
ecmProp_DocTypePropStr7
ecmProp_DocTypePropStr8
ecmProp_DocTypePropStr9
ecmProp_DocTypePropStr10
ecmProp_CHOiid
ecmProp_ExtStr2
ecmClass_InspectionInfoecmProp_DocNumberSetUserID
ecmProp_DocNumberSetUserName
ecmProp_DocNumberSetTime
ecmProp_DocTypePropInt1
ecmProp_DocTypePropInt2
ecmProp_DocTypePropInt3
ecmProp_DocTypePropInt4
ecmProp_DocTypePropInt5
ecmProp_DocTypePropInt6
ecmProp_DocTypePropInt7
ecmProp_DocTypePropInt8
ecmProp_DocTypePropInt9
ecmProp_DocTypePropInt10
ecmProp_DocTypePropStr1
ecmProp_DocTypePropStr2
ecmProp_DocTypePropStr3
ecmProp_DocTypePropStr4
ecmProp_DocTypePropStr5
ecmProp_DocTypePropStr6
ecmProp_DocTypePropStr7
ecmProp_DocTypePropStr8
ecmProp_DocTypePropStr9
ecmProp_DocTypePropStr10
ecmClass_DocTypeMasteresysProp_Name
esysProp_CreateTime
esysProp_Creator
esysProp_ModifyTime
esysProp_Modifier
dbuUserProp_OwnerName
dbuUserProp_ModifierName
ecmProp_Mst_ecmProp_New
ecmProp_Mst_ecmProp_Search
ecmProp_Mst_ecmProp_DocList
ecmProp_Mst_ecmProp_HisList
ecmProp_Mst_ecmProp_Modify
ecmProp_DocNumProp
ecmProp_DocNumDelimiter
ecmProp_DocNumSuffix
ecmProp_ExtInt1
ecmProp_ExtInt2
ecmProp_ExtInt3
ecmProp_ExtInt4
ecmProp_ExtInt5
ecmProp_ExtStr1
ecmProp_ExtStr2
ecmProp_ExtStr3
ecmProp_ExtStr4
ecmProp_ExtStr5
ecmClass_TypePropValueMasteresysProp_Name
esysProp_CreateTime
esysProp_Creator
esysProp_ModifyTime
esysProp_Modifier
dbuUserProp_OwnerName
dbuUserProp_ModifierName
ecmProp_DocTypePropName
ecmProp_DocTypePropCode
ecmProp_DocTypeParentCode
ecmProp_SortNumber
ecmProp_ExtInt1
ecmProp_ExtInt2
ecmProp_ExtInt3
ecmProp_ExtInt4
ecmProp_ExtInt5
ecmProp_ExtStr1
ecmProp_ExtStr2
ecmProp_ExtStr3
ecmProp_ExtStr4
ecmProp_ExtStr5
edmClass_RelationshipesysProp_CreateTime
esysProp_Creator
esysProp_ModifyTime
esysProp_Modifier
ecmProp_RelCommnt
ecmProp_RelOrgModifyTime
ecmProp_RelAheadModifyTime

注※ 環境によってはすでに追加されている場合があります。インデクス定義が無い場合は,追加してください。