

 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\_TABLE\_STATE\_CHANGE
<a name="r_SYS_INTEGRATION_TABLE_STATE_CHANGE"></a>

SYS\_INTEGRATION\_TABLE\_STATE\_CHANGE는 통합에 대한 테이블 상태 변경 로그를 자세히 표시합니다.

슈퍼 사용자는 이 테이블의 모든 행을 볼 수 있습니다.

자세한 내용은 [제로 ETL 통합 작업](https://docs.aws.amazon.com//redshift/latest/mgmt/zero-etl-using.html)을 참조하세요.

## 테이블 열
<a name="r_SYS_INTEGRATION_TABLE_STATE_CHANGE-table-columns"></a>


| 열 이름  | 데이터 유형  | 설명  | 
| --- | --- | --- | 
| integration\_id | character(128) | 통합과 관련된 식별자입니다. | 
| database\_name | character(128) | Amazon Redshift 데이터베이스의 이름입니다. | 
| schema\_name | character(128) | Amazon Redshift 스키마의 이름입니다. | 
| table\_name | character(128) | 테이블의 이름 | 
| new\_state | character(128) | 테이블 상태입니다. 가능한 값은 Synced, ResyncRequired, ResyncInitiated, Deleted, Failed, ResyncDeleted입니다. | 
| table\_last\_replicated\_checkpoint | character(128) | 현재 동기화된 로그 좌표입니다. | 
| state\_change\_reason | character(256) | 마지막 상태 전환의 이유입니다. | 
| record\_time | timestamp | 기록이 업데이트된 시각(UTC)입니다. | 

## 샘플 쿼리
<a name="r_SYS_INTEGRATION_TABLE_STATE_CHANGE-sample-queries"></a>

다음 SQL 명령은 통합 로그를 표시합니다.

```
select * from sys_integration_table_state_change;
                
            integration_id            | database_name | schema_name | table_name | new_state |  table_last_replicated_checkpoint   | state_change_reason |        record_time
--------------------------------------+---------------+-------------+------------+-----------+-------------------------------------+---------------------+----------------------------
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest80t3s | sbtest79   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 19:39:50.087868
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest80t3s | sbtest56   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 19:39:45.54005
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest80t3s | sbtest50   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 19:40:20.362504
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest80t3s | sbtest18   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 19:40:32.544084
 99108e72-1cfd-414f-8cc0-0216acefac77 | perfdb        | sbtest40t3s | sbtest23   | Synced    | {"txn_seq":9834,"txn_id":126597515} |                     | 2023-09-20 15:49:05.186209
```