Snowflake 简明教程

Snowflake - Pricing Model

Snowflake 对其面向最终用户的服务使用 three different stageslayers

Snowflake uses three different stages or layers for their services to end-users −

  1. Storage

  2. Virtual Warehouse (Compute)

  3. Cloud Services

Snowflake 没有任何许可费用。但是,其定价基于这三层以及无服务器功能的实际使用情况。Snowflake 收取固定费用,另加根据 Snowflake 信用使用情况支付的任何额外费用。

Snowflake doesn’t have any license cost. However, the pricing is based on the actual usage of these three layers plus serverless features. Snowflake charges a fixed amount plus any additional costs based on the usage of Snowflake credits.

What is Snowflake Credit?

这是支付 Snowflake 资源使用费用的模式,通常包括虚拟仓库、云服务和无服务器功能。Snowflake 信用是计量单位。它根据利用的资源进行计算,如果客户不使用任何资源或资源处于休眠模式,则不收取任何费用。例如,当虚拟仓库正在运行并且云服务层正在执行一些用户定义的任务时,就会使用 Snowflake 信用。

It is the mode of payment for the consumption of the snowflake resources, usually Virtual Warehouses, Cloud Services, and serverless features. Snowflake credit is a unit of measure. It is calculated based on resources utilized, it doesn’t charge anything if the customer is not using any resources or resources are in sleep mode. For example, a snowflake credit is used when virtual warehouse is running and the cloud service layer is executing some user-defined task.

Storage Cost

Snowflake 对数据存储按月收费。存储成本按每月存储在 Snowflake 中的平均数据量计算。此数据大小在 Snowflake 执行压缩后计算。此成本非常低,一个月的 1TB 数据约为 23 美元。

Snowflake charges a monthly fee for the data storage. Storage cost is measured as the average amount of data stored in Snowflake on a monthly basis. This data size is calculated after compression is performed by Snowflake. This cost significantly very low, around $23/1TB data for one month.

Virtual Warehouse (Compute)

它是一个或多个集群,用于将数据加载到 Snowflake 并执行查询。Snowflake 使用 Snowflake 信用作为客户付款。

It is one or more clusters that is used to load data into Snowflake and execute queries. Snowflake uses Snowflake Credits as a payment from customer.

Snowflake 信用根据仓库大小、群集数量以及执行查询所花费的时间计算。仓库的大小决定了查询运行的速度。当虚拟仓库未运行并且处于暂停模式时,它不会花费任何 Snowflake 信用。不同大小的仓库会以不同的速率花费 Snowflake 信用。

The snowflake credit is calculated based on Warehouse size, number of clusters and time spent to execute queries. The size of a warehouse determines how fast a query will run. When a virtual warehouse is not running and is in suspended mode, it doesn’t spend any Snowflake credit. Different sizes of warehouses spend Snowflake credits at different rates.

Warehouse Size

Servers

Credit/Hour

Credits/Second

X-Small

1

1

0.0003

Small

2

2

0.0006

Medium

4

4

0.0011

Large

8

8

0.0022

X-Large

16

16

0.0044

2X-Large

32

32

0.0089

3X-Large

64

64

0.0178

4X-Large

128

128

0.0356

Cloud Services

云服务管理用户的任务的端到端解决方案。它会根据任务的要求自动分配资源。Snowflake 每天提供高达 10% 的计算信用的云服务免费使用。

Cloud services manage end-to-end solution of the user’s task. It automatically assigns resources based on requirements of a task. Snowflake provides free usage of cloud service up to 10% of daily compute credits.

例如,如果用户每天花费 100 个信用作为计算,那么用于云服务的 10 个信用是免费的。

For example, if a user spends 100 Credit daily as Compute, then 10 Credits used for Cloud Services are free of cost.

Serverless Features

Snowflake 提供了许多其他无服务器功能。这些是托管计算资源,Snowflake 在使用时消耗信用。

Snowflake provides many additional serverless features. These are managed compute resources and Snowflake consumes credit when it is used.

Snowpipe、数据库复制、物化视图维护、自动群集、搜索优化服务是 Snowflake 提供的无服务器功能。

Snowpipe, Database Replication, Materialized Views Maintenance, Automatic Clustering, Search Optimization Service are serverless features provided by Snowflake.