

 Amazon Redshift は、パッチ 198 以降、新しい Python UDF の作成をサポートしなくなります。既存の Python UDF は、2026 年 6 月 30 日まで引き続き機能します。詳細については、[ブログ記事](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/)を参照してください。

# SYS\_INTEGRATION\_ACTIVITY
<a name="r_SYS_INTEGRATION_ACTIVITY"></a>

SYS\_INTEGRATION\_ACTIVITY は、完了した統合実行に関する詳細を表示します。

SYS\_INTEGRATION\_ACTIVITY は、スーパーユーザーにのみに表示されます。詳細については、「[システムテーブルとビューのデータの可視性](cm_chap_system-tables.md#c_visibility-of-data)」を参照してください。

ゼロ ETL 統合の詳細については、「Amazon Redshift 管理ガイド」の「[ゼロ ETL 統合の開始方法](https://docs.aws.amazon.com//redshift/latest/mgmt/zero-etl-using.html)」を参照してください。

## テーブルの列
<a name="r_SYS_INTEGRATION_ACTIVITY-table-columns"></a>


| 列名  | データ型  | 説明  | 
| --- | --- | --- | 
| integration\_id | character(128) | 統合に関連付けられている識別子です。 | 
| target\_database | character(128) | 統合データを受け取る Amazon Redshift のデータベース。 | 
| ソース | character(128) | 統合のソースデータ。可能なデータタイプには、MySQL と PostgreSQL が含まれます。 | 
| checkpoint\_name | character(128) | binlog 座標をレプリケートするチェックポイントの名前。 | 
| checkpoint\_type | character(16) | チェックポイントのタイプ。可能な値は、snapshot、cdc です。 | 
| checkpoint\_bytes | bigint | このチェックポイントのバイト数。 | 
| last\_commit\_timestamp | timestamp | このチェックポイントで最後にコミットされたときのタイムスタンプ。 | 
| modified\_tables | integer | チェックポイントで変更されたテーブルの数。 | 
| integration\_start\_time | 時間 | このチェックポイントの統合が開始された時刻 (UTC)。 | 
| integration\_end\_time | 時間 | このチェックポイントの統合が終了した時刻 (UTC)。 | 

## サンプルクエリ
<a name="r_SYS_INTEGRATION_ACTIVITY-sample-queries"></a>

次の SQL コマンドは、統合のログを表示します。

```
select * from sys_integration_activity;

          integration_id              | target_database | source |            checkpoint_name                  | checkpoint_type  | checkpoint_bytes | last_commit_timestamp   | modified_tables |   integration_start_time   |    integration_end_time
--------------------------------------+-----------------+--------+---------------------------------------------+------------------+------------------+-------------------------+-----------------+----------------------------+----------------------------
 76b15917-afae-4447-b7fd-08e2a5acce7b |   demo1         | MySQL  | checkpoints/checkpoint_3_241_3_510.json     |        cdc       |        762       | 2023-05-10 23:00:14.201 |         1       | 2023-05-10 23:00:45.054265 | 2023-05-10 23:00:46.339826
 76b15917-afae-4447-b7fd-08e2a5acce7b |   demo1         | MySQL  | checkpoints/checkpoint_3_16329_3_17839.json |        cdc       |       13488      | 2023-05-11 01:33:57.411 |         2       | 2023-05-11 02:19:09.440121 | 2023-05-11 02:19:16.090492
 76b15917-afae-4447-b7fd-08e2a5acce7b |   demo1         | MySQL  | checkpoints/checkpoint_3_5103_3_5532.json   |        cdc       |        1657      | 2023-05-10 23:13:14.205 |         2       | 2023-05-10 23:13:23.545487 | 2023-05-10 23:13:25.652144
```