저장소 수명 주기 정책에 대한 요금 청구¶
참고
:doc:`저장소 수명 주기 정책</user-guide/storage-management/storage-lifecycle-policies>`은 현재 정부 리전에서 사용할 수 없습니다.
저장소 수명 주기 정책을 사용하면 정책 실행, 데이터 저장소 및 데이터 작업에 대한 비용이 발생합니다. 이 항목에서는 저장소 수명 주기 정책과 관련된 비용 구성 요소를 설명하고 각 구성 요소를 모니터링하는 방법에 대한 지침을 제공합니다.
정책 실행 비용¶
Snowflake가 저장소 수명 주기 정책을 실행할 때마다 정의된 조건을 충족하는 행을 식별하고 처리하기 위해 서버리스 컴퓨팅 요금이 발생합니다. 정책은 약 24시간마다 한 번씩 자동으로 실행됩니다. 청구 세부 정보는 `Snowflake Service Consumption Table`_의 테이블 5를 참조하세요.
모니터링¶
To view credits that are consumed by policy execution, use the following metering history views. Filter for the STORAGE_LIFECYCLE_POLICY_EXECUTION service type:
정책 실행 기록과 메타데이터를 보려면 다음 뷰와 함수를 사용하세요.
:doc:`INFORMATION_SCHEMA.STORAGE_LIFECYCLE_POLICY_HISTORY </sql-reference/functions/storage_lifecycle_policy_history>`(테이블 함수)
참고
정책 실행 시간은 유사한 양의 데이터를 처리하는 경우에도 실행마다 다를 수 있습니다. 정책 실행 비용을 더 잘 이해하려면 만료되거나 아카이브된 데이터의 양과 함께 각 실행에 청구되는 크레딧을 모니터링하세요.
아카이브 저장소 비용¶
데이터를 아카이브할 때 데이터를 아카이브 저장소로 이동하고, 아카이브 저장소에 데이터를 저장하고, 아카이브된 데이터를 검색하는 데 드는 요금이 발생합니다. 아카이브된 데이터가 있는 테이블을 삭제하면 최소 저장 기간 요금이 발생할 수도 있습니다.
아카이브 저장소로 데이터 이동¶
정책에서 데이터를 아카이브하면 일반 저장소에서 쿨 또는 콜드 아카이브 저장소 계층으로 데이터를 이동하는 데 일회성 서버리스 컴퓨팅 요금이 발생합니다. 청구 세부 정보는 `Snowflake Service Consumption Table`_의 테이블 5를 참조하세요.
모니터링¶
To view the credits consumed to move data to archive storage, use the following metering history views. Filter for the STORAGE_LIFECYCLE_POLICY_EXECUTION and ARCHIVE_STORAGE_WRITE service types:
데이터 저장소¶
After policy execution, you temporarily incur charges for both archive storage and table storage. Snowflake immediately copies data into the specified archive storage tier when the policy runs. However, the data remains in table storage for seven or more days, which is the 7-day Fail-safe period plus your Time Travel retention period set by DATA_RETENTION_TIME_IN_DAYS.
이 기간 이후에는 아카이브 저장소의 데이터에 대해 지속적인 저장소 요금이 발생합니다. 청구 세부 정보는 `Snowflake Service Consumption Table`_에서 테이블 3(e)를 참조하세요.
모니터링¶
테이블, 데이터베이스 또는 계정에 대해 아카이브된 데이터의 볼륨을 바이트 단위로 보려면 다음 뷰를 사용하세요.
Account Usage 뷰:
Organization Usage 뷰:
데이터 검색¶
:doc:`아카이브된 데이터 검색</user-guide/storage-management/storage-lifecycle-policies-retrieving-archived-data>`을 쿼리할 때 다음과 같은 요금이 발생합니다.
Retrieval cost: One-time charge to retrieve archived data from the archive storage tier.
File processing: Serverless compute charge to process the retrieved data.
**임시 저장소**(COLD 계층만 해당): COLD 계층에서 데이터를 검색할 때 Snowflake는 검색된 데이터를 일반 저장소에 임시로 저장합니다. 이로 인해 추가 저장소 요금이 발생합니다.
청구 세부 정보는 `Snowflake Service Consumption Table`_의 테이블 4(f) 및 5를 참조하세요.
참고
검색 비용을 추정하려면 CREATE TABLE … FROM ARCHIVE OF <label-create_table_from_archive_of_syntax>`와 함께 :doc:/sql-reference/sql/explain`을 사용하세요. 아카이브 저장소에서 검색할 파일 수를 보여줍니다. 예를 보려면 Retrieve archived data 를 참조하십시오.
모니터링¶
To view consumed credits and the cost related to retrieving archived data, use the following views:
To view the credits consumed for file processing in order to retrieve archived data, use the following metering history views. Filter for the ARCHIVE_STORAGE_RETRIEVAL_FILE_PROCESSING service type:
To view temporary storage that you use when you retreive data from the COLD storage tier, use the ARCHIVE_STORAGE_RETRIEVAL_TEMP_BYTES column in the ACCOUNT_USAGE.STORAGE_USAGE.
최소 저장 기간 요금¶
클라우드 공급자는 아카이브 저장소 계층에 대해 최소 저장 기간을 부여합니다. 테이블을 삭제하면 Snowflake는 저장소에서 테이블 데이터를 삭제합니다. 테이블 데이터가 아카이브 저장소에 있고 클라우드 공급자가 설정한 최소 기간 동안 보관되지 않은 경우 Snowflake는 최소 기간에 대한 요금을 청구합니다.
For example, if you drop a table with data that Snowflake moved to the AWS cold storage tier 15 days ago, you still incur storage cost for the remaining 165 days of the minimum cold storage period, which is the 180-day minimum minus 15 days already stored.
아카이브 저장소 청구 세부 정보는 `Snowflake Service Consumption Table`_에서 테이블 3(e)를 참조하세요.
최소 저장 기간은 클라우드 공급자 및 저장소 계층에 따라 다릅니다.
AWS 쿨 계층: 최소 90일
AWS 콜드 계층: 최소 180일
모니터링¶
To view the amount of data that is subject to minimum storage duration charges for a table, use the following columns in the TABLE_STORAGE_METRICS view:
ARCHIVE_STORAGE_COOL_EARLY_DELETION_PENALTY_BYTES
ARCHIVE_STORAGE_COLD_EARLY_DELETION_PENALTY_BYTES
These columns are available in the following topics: