

 Amazon Redshift 將不再支援從修補程式 198 開始建立新的 Python UDFs。現有 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\_TABLE\_ACTIVITY
<a name="r_SYS_INTEGRATION_TABLE_ACTIVITY"></a>

SYS\_INTEGRATION\_TABLE\_ACTIVITY 會顯示零 ETL 整合的插入、刪除和更新活動的詳細資訊。每次完成擷取都會新增一列。

超級使用者可以查看此資料表中的所有列。

如需詳細資訊，請參閱[零 ETL 整合](https://docs.aws.amazon.com//redshift/latest/mgmt/zero-etl-using.html)。

## 資料表欄
<a name="r_SYS_INTEGRATION_TABLE_ACTIVITY-table-columns"></a>


| 欄名稱  | 資料類型  | 說明  | 
| --- | --- | --- | 
| 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 | 擷取的位元組數。 | 

## 範例查詢
<a name="r_SYS_INTEGRATION_TABLE_ACTIVITY-sample-queries"></a>

下列 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
```