MultiLoadとEcoSystem Managerの統合 - MultiLoad

Teradata® MultiLoadリファレンス

Product
MultiLoad
Release Number
17.10
Published
2021年6月
Language
日本語
Last Update
2021-09-23
dita:mapPath
ja-JP/fel1608578437279.ditamap
dita:ditavalPath
ja-JP/fel1608578437279.ditaval
dita:id
B035-2409
Product Category
Teradata Tools and Utilities

Teradata EcoSystem Manager(以前のTeradata Multi-System Manager、TMSM)は、それを構成するアプリケーション、サーバー、ジョブ、テーブル、およびソフトウェアデーモンの関係を監視および分析します。一元化されたインターフェースは、エコシステムの障害の影響をトラブルシューティングして判断するのに役立ちます。 このツールの対象ユーザーは、Enterprise Data Warehouse (EDW) の管理者、つまりデータベース管理者、ETL保守担当者、システム管理者、またはTeradata LoadおよびUnloadユーティリティ、Teradata SQL、各種ETL ツール、Vantageなどによる処理の監視および制御が必要なユーザーです。

EcoSystem Managerと統合するために、FastExportの機能が拡張されました。「EcoSystem Manager Event System API Reference」に記載されているとおり、"send event"インターフェースを使用して、オペレーショナル メタデータとイベント データを収集し、EcoSystem Managerからジョブの作業単位ID (UOW ID)を取得し、監視目的でこれらのデータをEcoSystem Managerに送信します。デフォルトでは、EcoSystem Managerがアクティブである限り、FastExportジョブはEcoSystem Managerにイベントを送信します。EcoSystem Managerがアクティブではない場合は、EcoSystem Managerにイベントは送信されませんが、このジョブは引き続き実行されます。

単純なETL プロセス監視で必要なのは、プロセスの"start"と"end"の追跡です。プロセスには、監視対象のプロセスのイベントやアクティビティを表わす"step"を複数含むことがあります。 MultiLoadでは、ロード ジョブをこのようなプロセスとしてみなすことができます。

MultiLoadはEcoSystem Managerで必要な次のフローに従います。

  1. EcoSystem ManagerからMultiLoadジョブ用のシステム生成UOW IDを取得します。
  2. "start"イベントをUOW IDとともにEcoSystem Managerに送信します。
  3. オプションで、1つまたは複数の"step"イベントをUOW IDとともにEcoSystem Managerに送信します。
  4. “end”イベントをUOW IDとともにEcoSystem Managerに送信します。

以下は、ジョブを監視するためにMultiLoadジョブがイベント メッセージをEcoSystem Managerに送信する方法の例です。

Start Event -- "Connecting sessions" message which contains a MultiLoad job ID, a TDPID.
Step Event --  "Task n: Acquisition begins" message
Step Event --  "Task n: Checkpoint completes" message
Step Event --  "Task n: Acquisition completes" message

MultiLoad Import Taskの場合

Step Event --  "Task n: Application completes" message which contains the number of rows inserted into each of the target tables (1 message per table)

Step Event --  "Task n: Application completes" message which contains the number of rows that were updated against each of the target tables (1 message per table)

Step Event --  "Task n: Application completes" message which contains the number of rows that were deleted from each of the target tables (1 message per table) 
MultiLoad Delete Taskの場合
Step Event -- "Task n: Application completes" message which contains the
number of rows that were deleted from each of the target tables (1
message per table)

End Event -- "Job terminating" message

EcoSystem Manager環境の設定の詳細については、Teradata® Teradata Ecosystem Managerインストール、構成、およびアップグレード ガイド ユーザー用(B035-3203)を参照してください。