SYS_INTEGRATION_TABLE_ACTIVITY
SYS_INTEGRATION_TABLE_ACTIVITY 显示零 ETL 集成的插入、删除和更新活动的详细信息。对于每次完成的摄取都会添加一行。
超级用户可以查看此表中的所有行。
有关更多信息,请参阅零 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 | 整数 | 表的标识符。 |
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