

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

# enable\_result\_cache\_for\_session
<a name="r_enable_result_cache_for_session"></a>

## 값(기본값은 굵은 글꼴로 표시)
<a name="r_enable_result_cache_for_session-values"></a>

on(참), **off(거짓)**

## Description
<a name="r_enable_result_cache_for_session-description"></a>

쿼리 결과 캐싱을 사용할지 여부를 지정합니다. `enable_result_cache_for_session`이 `on`이면 Amazon Redshift는 쿼리가 제출 될 때 쿼리 결과의 유효한 캐시 된 복사본을 확인합니다. 결과 캐시에서 일치 항목이 발견되면 Amazon Redshift는 캐시된 결과를 사용하고 쿼리를 실행하지 않습니다. `enable_result_cache_for_session`이 `off`이면 Amazon Redshift는 결과 캐시를 무시하고 제출되는 모든 쿼리를 실행합니다.

## 예제
<a name="r_enable_result_cache_for_session-example"></a>

```
SET enable_result_cache_for_session TO off;
--Amazon Redshift now ignores the results cache
```