SYS_INTEGRATION_TABLE_ACTIVITY
SYS_INTEGRATION_TABLE_ACTIVITY は、ゼロ ETL 統合の挿入、削除、更新アクティビティの詳細を表示します。完了した取り込み 1 件につき 1 行が追加されます。
スーパーユーザーは、このテーブルのすべての行を表示できます。
詳細については、「ゼロ ETL 統合」を参照してください。
テーブルの列
列名 | データ型 | 説明 |
---|---|---|
integration_id | character(128) | 統合に関連付けられている識別子です。 |
checkpoint_name | character(128) | チェックポイントの名前。 |
target_database | character(128) | Amazon Redshift データベースの名前。 |
schema_name | character(128) | Amazon Redshift スキーマの名前。 |
table_name | character(128) | テーブルの名前。 |
table_id | integer | テーブルの識別子。 |
record_time | timestamp | この変更が完了した時刻 (UTC)。 |
transaction_id | bigint | トランザクション識別子。 |
inserted_rows | bigint | 取り込みによって挿入された行の数。 |
deleted_rows | bigint | 取り込みによって削除された行の数。 |
updated_rows | bigint | 取り込みによって更新された行の数。 |
bytes_ingested | bigint | 取り込まれたバイト数。 |
サンプルクエリ
次の SQL コマンドは、統合のアクティビティを表示します。
select * from sys_integration_table_activity;
integration_id | checkpoint_name | target_database | schema_name | table_name | table_id | record_time | transaction_id | inserted_rows | deleted_rows | updated_rows | bytes_ingested --------------------------------------+-----------------+-----------------+-------------+-------------------+--------------+----------------------------+-----------------+----------------+--------------+--------------+--------------- 4798e675-8f9f-4686-b05f-92c538e19629 | | sample_test2 | sample | SampleTestChannel | 111276 | 2023-05-12 12:40:30.656625 | 7736 | 2 | 0 | 0 | 125