

 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/)을 참조하세요.

# STV\$1LOAD\$1STATE
<a name="r_STV_LOAD_STATE"></a>

STV\$1LOAD\$1STATE 테이블은 현재 진행 중인 COPY 문의 상태에 대한 정보를 확인할 때 사용됩니다.

100만 개의 레코드가 로드될 때마다 COPY 명령이 이 테이블을 업데이트합니다.

STV\$1LOAD\$1STATE는 모든 사용자에게 표시됩니다. 수퍼유저는 모든 행을 볼 수 있지만 일반 사용자는 자체 데이터만 볼 수 있습니다. 자세한 내용은 [시스템 테이블 및 뷰에 있는 데이터의 가시성](cm_chap_system-tables.md#c_visibility-of-data) 섹션을 참조하세요.

## 테이블 열
<a name="r_STV_LOAD_STATE-table-columns2"></a>

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/ko_kr/redshift/latest/dg/r_STV_LOAD_STATE.html)

## 샘플 쿼리
<a name="r_STV_LOAD_STATE-sample-query2"></a>

각 조각에서 COPY 명령 진행 상황을 보려면 다음과 같이 쿼리를 입력합니다. 다음은 PG\$1LAST\$1COPY\$1ID() 함수를 사용하여 마지막 COPY 명령 정보를 가져오는 예입니다.

```
select slice , bytes_loaded, bytes_to_load , pct_complete from stv_load_state where query = pg_last_copy_id();

 slice | bytes_loaded | bytes_to_load | pct_complete 
-------+--------------+---------------+--------------
     2 |            0 |             0 |            0
     3 |     12840898 |      39104640 |           32
(2 rows)
```