Snowpipe 비용¶
사용자는 Snowpipe의 서버리스 컴퓨팅 모델을 사용하여 가상 웨어하우스를 관리하지 않고도 모든 크기의 로드를 시작할 수 있습니다. 대신, Snowflake는 컴퓨팅 리소스를 제공 및 관리하여 현재 Snowpipe 로드에 따라 용량을 자동으로 늘리거나 줄입니다.
중요
Snowpipe 수집은 GB당 고정 크레딧 금액을 기준으로 청구됩니다. 이 단순화된 모델은 더 예측 가능한 데이터 로딩 비용을 제공하고 비용 추정을 간소화합니다. 전자의 비용 모델에는 데이터를 로드하는 데 사용되는 실제 컴퓨팅 리소스, 초당/코어당 측정, 파일 1,000개당 요금이라는 두 가지 구성 요소가 있었습니다.
이 GB당 크레딧 청구 모델은 모든 Snowflake 에디션, 즉 Standard, Enterprise, Business Critical 및 Virtual Private Snowflake(VPS)에 적용됩니다.
CSV, JSON, XML과 같은 텍스트 파일의 경우 압축되지 않은 크기에 따라 요금이 청구됩니다. Parquet, Avro, ORC와 같은 바이너리 파일의 경우 압축과 관계없이 관찰된 크기를 기준으로 요금이 청구됩니다.
자세한 내용은 `Snowflake Service Consumption Table`_을 참조하세요.
리소스 사용 및 관리 오버헤드¶
GB당 크레딧 가격 모델에서 Snowpipe 청구는 로드한 데이터의 GB당 고정 크레딧 금액을 기준으로 계산됩니다. 이렇게 단순화된 접근 방식을 사용하면 이전에는 초당/코어당으로 세분화되어 측정했던 컴퓨팅 사용률을 추적하거나 관리할 필요가 없습니다.
File sizes and staging frequency might impact the performance of Snowpipe. For recommended best practices, see 연속 데이터 로드(즉, Snowpipe) 및 파일 크기 조정.
Snowpipe 요금 예상하기¶
Estimating Snowpipe charges is straightforward. You can calculate your expected costs by using your anticipated data volume and the fixed credit amount per GB. Because text files — such as CSV, JSON, XML — are charged based on their uncompressed size, you must know the compression ratio of your text files.
그런 다음 관련 Account Usage 뷰의 BILLED_BYTES 열을 검토하여 실제 사용량과 비교해 이러한 계산을 확인할 수 있습니다. BILLED_BYTES 열이 :doc:`2025_05 BCR 번들</release-notes/bcr-bundles/2025_05/bcr-2045>`에 도입되었습니다.
To understand the actual credit consumption for your specific workloads, we suggest that you experiment by performing a typical set of loads.
데이터 로드 기록 및 비용 보기¶
Account administrators (users with the ACCOUNTADMIN role) or users with a role granted the MONITOR USAGE global privilege can use Snowsight or SQL to view the credits billed to your Snowflake account within a specified date range.
때때로 데이터 압축 및 유지 관리 프로세스에서 Snowflake 크레딧이 소모될 수 있습니다. 예를 들어, 반환된 결과에는 0 BYTES_INSERTED 및 0 FILES_INSERTED 로 크레딧을 소비한 것으로 표시될 수 있습니다. 이는 데이터가 로딩되지 않고 있지만, 데이터 압축 및 유지 관리 프로세스에서 일부 크레딧을 사용했다는 의미입니다.
계정의 Snowpipe 데이터 로딩과 관련하여 청구된 크레딧을 살펴보려면:
- Snowsight:
탐색 메뉴에서 Admin » Cost management 를 선택합니다.
- SQL:
다음 중 하나를 쿼리합니다.
(Account Usage 의) PIPE_USAGE_HISTORY 뷰.
You can run the following queries against the PIPE_USAGE_HISTORY view. You can verify costs based on volume by using the
BYTES_BILLEDcolumn.쿼리: Snowpipe 비용 기록(일별, 오브젝트별)
The following query provides a full list of pipes and the volume of credits that you consumed through the service over the last 30 days, broken out by day.
SELECT TO_DATE(start_time) AS date, pipe_name, SUM(credits_used) AS credits_used, SUM(bytes_billed) AS bytes_billed_total FROM snowflake.account_usage.pipe_usage_history WHERE start_time >= DATEADD(month,-1,CURRENT_TIMESTAMP()) GROUP BY 1,2 ORDER BY bytes_billed_total DESC;쿼리: Snowpipe 기록 및 m일 평균
다음 쿼리는 작년에 Snowpipe에서 사용된 평균 일일 크레딧을 주별로 그룹화하여 보여줍니다. 이 쿼리는 해당 연도의 일일 평균 사용량의 이상치를 식별하여 사용량의 급격한 증가 또는 예기치 않은 변화를 조사하는 데 도움이 될 수 있습니다.
WITH credits_by_day AS ( SELECT TO_DATE(start_time) AS date, SUM(credits_used) AS credits_used, SUM(bytes_billed) AS bytes_billed_total FROM snowflake.account_usage.pipe_usage_history WHERE start_time >= DATEADD(year,-1,CURRENT_TIMESTAMP()) GROUP BY 1 ) SELECT DATE_TRUNC('week',date), AVG(credits_used) AS avg_daily_credits, AVG(bytes_billed_total) AS avg_daily_bytes_billed FROM credits_by_day GROUP BY 1 ORDER BY 1;
참고
리소스 모니터 를 사용하여 가상 웨어하우스 크레딧 사용을 관리할 수 있지만,
SNOWPIPE 웨어하우스 등 Snowflake에서 제공하는 웨어하우스의 크레딧 사용을 관리하기 위한 용도로는 사용할 수는 없습니다.