Datastream 价格

本页面介绍 Datastream 的价格。如需查看其他产品的价格,请参阅价格文档

Datastream 针对 AlloyDB 和 Spanner 等特定的第一方 Google Cloud 来源推出了永久免费层级,每月免费提供多达 100 GiB 的变更数据捕获 (CDC) 数据。

如果您使用非美元货币付费,则参阅 Google Cloud SKU 上以您的币种列出的价格。

价格摘要

Datastream 的定价模式基于处理的吉比字节 (GiB) 数。请注意,“已处理字节数”是源数据的内部表示形式,对于大多数用例,此值可能是实际数据的 2-5 倍。

用量按字节增量计费。运行流除了处理的数据外没有其他费用,空闲流不产生任何费用。

免费层级亮点

借助 Datastream 免费层级加快获得分析洞见!我们让构建实时数据流水线变得比以往更加轻松高效且经济实惠。从现在开始,Datastream 将为特定的第一方 Google Cloud 来源推出永久免费层级。无论您是要同步来自 AlloyDB 还是 Spanner 的运营数据,现在都可以免费为初始工作负载利用无缝变更数据捕获 (CDC)。

Datastream 提供永久免费层级,帮助您从小处着手,从第一方来源无风险地构建流水线原型。

  • 每月免费处理 100 GiB 数据:每个结算账号每月最多可免费处理来自符合条件的第一方来源的 100 GiB CDC 数据,无需支付 Datastream 费用。
  • 符合条件的来源和目标:免费层级目前仅适用于从 AlloyDB 和 Spanner 到 BigQuery 的数据流。
  • 汇总使用量:100 GiB 额度适用于单个结算账号中所有符合条件的 AlloyDB 和 Spanner 流。

变更数据捕获 (CDC) 和回填

Datastream 通过以下两种方法之一将数据从来源流式传输到目标位置:

  • 变更数据捕获 (CDC):Datastream 实时从来源捕获更改。
  • 回填:Datastream 截取表中存在的数据的历史快照。

每种流式传输方法按不同的费率计费,具体请参阅价格详情

注意:由 Datastream 读取但未写入目的地的事件不会被统计在内。

价格详情

在本部分中,您将看到使用 Datastream 时每种流式传输方法适用的费用。

如需查看在提供 Datastream 的区域中使用 Datastream 所产生的费用,请从下方的下拉菜单中选择一个区域。

Datastream CDC 费用是分层的,也就是说,随着使用量的增加,每 GB 的价格会降低。优惠价格仅适用于该层级内的用量(较低层级中处理的 GB 仍将按该层级的费用计费)。回填使用固定费率,但每月前 500 GB 免费。请参阅下方的详细示例。

  • Johannesburg (africa-south1)
  • Taiwan (asia-east1)
  • Hong Kong (asia-east2)
  • Tokyo (asia-northeast1)
  • Osaka (asia-northeast2)
  • Seoul (asia-northeast3)
  • Mumbai (asia-south1)
  • Delhi (asia-south2)
  • Singapore (asia-southeast1)
  • Jakarta (asia-southeast2)
  • Bangkok (asia-southeast3)
  • Sydney (australia-southeast1)
  • Melbourne (australia-southeast2)
  • Warsaw (europe-central2)
  • Finland (europe-north1)
  • Stockholm (europe-north2)
  • Madrid (europe-southwest1)
  • Belgium (europe-west1)
  • Berlin (europe-west10)
  • Turin (europe-west12)
  • London (europe-west2)
  • Frankfurt (europe-west3)
  • Netherlands (europe-west4)
  • Zurich (europe-west6)
  • Milan (europe-west8)
  • Paris (europe-west9)
  • Doha (me-central1)
  • Dammam (me-central2)
  • Tel Aviv (me-west1)
  • Montreal (northamerica-northeast1)
  • Toronto (northamerica-northeast2)
  • Mexico (northamerica-south1)
  • Sao Paulo (southamerica-east1)
  • Santiago (southamerica-west1)
  • Iowa (us-central1)
  • South Carolina (us-east1)
  • Northern Virginia (us-east4)
  • Columbus (us-east5)
  • Dallas (us-south1)
  • Oregon (us-west1)
  • Los Angeles (us-west2)
  • Salt Lake City (us-west3)
  • Las Vegas (us-west4)
  • Phoenix (us-west8)

流式传输方法

价格(美元)

CDC

0 gibibyte to 2,500 gibibyte
US$2.00 / 1 gibibyte, per 1 month / account
2,500 gibibyte to 5,000 gibibyte
US$1.50 / 1 gibibyte, per 1 month / account
5,000 gibibyte to 10,000 gibibyte
US$1.20 / 1 gibibyte, per 1 month / account
10,000 gibibyte and above
US$0.80 / 1 gibibyte, per 1 month / account

如果您使用非美元货币付费,请参阅 Cloud Platform SKU 上以您的币种列出的价格。

超过 10 TB 时,请向销售人员咨询价格(CDC)。

  • Johannesburg (africa-south1)
  • Taiwan (asia-east1)
  • Hong Kong (asia-east2)
  • Tokyo (asia-northeast1)
  • Osaka (asia-northeast2)
  • Seoul (asia-northeast3)
  • Mumbai (asia-south1)
  • Delhi (asia-south2)
  • Singapore (asia-southeast1)
  • Jakarta (asia-southeast2)
  • Bangkok (asia-southeast3)
  • Sydney (australia-southeast1)
  • Melbourne (australia-southeast2)
  • Warsaw (europe-central2)
  • Finland (europe-north1)
  • Stockholm (europe-north2)
  • Madrid (europe-southwest1)
  • Belgium (europe-west1)
  • Berlin (europe-west10)
  • Turin (europe-west12)
  • London (europe-west2)
  • Frankfurt (europe-west3)
  • Netherlands (europe-west4)
  • Zurich (europe-west6)
  • Milan (europe-west8)
  • Paris (europe-west9)
  • Doha (me-central1)
  • Dammam (me-central2)
  • Tel Aviv (me-west1)
  • Montreal (northamerica-northeast1)
  • Toronto (northamerica-northeast2)
  • Mexico (northamerica-south1)
  • Sao Paulo (southamerica-east1)
  • Santiago (southamerica-west1)
  • Iowa (us-central1)
  • South Carolina (us-east1)
  • Northern Virginia (us-east4)
  • Columbus (us-east5)
  • Dallas (us-south1)
  • Oregon (us-west1)
  • Los Angeles (us-west2)
  • Salt Lake City (us-west3)
  • Las Vegas (us-west4)
  • Phoenix (us-west8)

计费项

价格(美元)

回填

0 gibibyte to 500 gibibyte
US$0.00 (Free) / 1 gibibyte, per 1 month / account
500 gibibyte and above
US$0.40 / 1 gibibyte, per 1 month / account

如果您使用非美元货币付费,请参阅 Cloud Platform SKU 上以您的币种列出的价格。

超过 10 TB 时,请向销售人员咨询价格(CDC)。

免费层级的价格详情

在本部分中,您将看到每种流式传输方法适用的费用,以及适用的免费层级来源和目标。如需查看特定区域的费用,请从 Google Cloud 控制台的下拉菜单中选择该区域。

CDC(变更数据捕获)

Datastream CDC 费用根据非免费用量分级。一旦您符合条件的来源超过 100 GiB 的阈值,系统就会自动采用标准分层定价。

  • Johannesburg (africa-south1)
  • Taiwan (asia-east1)
  • Hong Kong (asia-east2)
  • Tokyo (asia-northeast1)
  • Osaka (asia-northeast2)
  • Seoul (asia-northeast3)
  • Mumbai (asia-south1)
  • Delhi (asia-south2)
  • Singapore (asia-southeast1)
  • Jakarta (asia-southeast2)
  • Bangkok (asia-southeast3)
  • Sydney (australia-southeast1)
  • Melbourne (australia-southeast2)
  • Warsaw (europe-central2)
  • Finland (europe-north1)
  • Stockholm (europe-north2)
  • Madrid (europe-southwest1)
  • Belgium (europe-west1)
  • Berlin (europe-west10)
  • Turin (europe-west12)
  • London (europe-west2)
  • Frankfurt (europe-west3)
  • Netherlands (europe-west4)
  • Zurich (europe-west6)
  • Milan (europe-west8)
  • Paris (europe-west9)
  • Doha (me-central1)
  • Dammam (me-central2)
  • Tel Aviv (me-west1)
  • Montreal (northamerica-northeast1)
  • Toronto (northamerica-northeast2)
  • Mexico (northamerica-south1)
  • Sao Paulo (southamerica-east1)
  • Santiago (southamerica-west1)
  • Iowa (us-central1)
  • South Carolina (us-east1)
  • Northern Virginia (us-east4)
  • Columbus (us-east5)
  • Dallas (us-south1)
  • Oregon (us-west1)
  • Los Angeles (us-west2)
  • Salt Lake City (us-west3)
  • Las Vegas (us-west4)
  • Phoenix (us-west8)

流式传输方法

价格(美元)

CDC(AlloyDB 和 Spanner)

0 gibibyte to 100 gibibyte
US$0.00 (Free) / 1 gibibyte, per 1 month / account
100 gibibyte to 2,500 gibibyte
US$2.00 / 1 gibibyte, per 1 month / account
2,500 gibibyte to 5,000 gibibyte
US$1.50 / 1 gibibyte, per 1 month / account
5,000 gibibyte to 10,000 gibibyte
US$1.20 / 1 gibibyte, per 1 month / account
10,000 gibibyte and above
US$0.80 / 1 gibibyte, per 1 month / account

CDC(所有其他来源)

0 gibibyte to 2,500 gibibyte
US$2.00 / 1 gibibyte, per 1 month / account
2,500 gibibyte to 5,000 gibibyte
US$1.50 / 1 gibibyte, per 1 month / account
5,000 gibibyte to 10,000 gibibyte
US$1.20 / 1 gibibyte, per 1 month / account
10,000 gibibyte and above
US$0.80 / 1 gibibyte, per 1 month / account

回填

  • Johannesburg (africa-south1)
  • Taiwan (asia-east1)
  • Hong Kong (asia-east2)
  • Tokyo (asia-northeast1)
  • Osaka (asia-northeast2)
  • Seoul (asia-northeast3)
  • Mumbai (asia-south1)
  • Delhi (asia-south2)
  • Singapore (asia-southeast1)
  • Jakarta (asia-southeast2)
  • Bangkok (asia-southeast3)
  • Sydney (australia-southeast1)
  • Melbourne (australia-southeast2)
  • Warsaw (europe-central2)
  • Finland (europe-north1)
  • Stockholm (europe-north2)
  • Madrid (europe-southwest1)
  • Belgium (europe-west1)
  • Berlin (europe-west10)
  • Turin (europe-west12)
  • London (europe-west2)
  • Frankfurt (europe-west3)
  • Netherlands (europe-west4)
  • Zurich (europe-west6)
  • Milan (europe-west8)
  • Paris (europe-west9)
  • Doha (me-central1)
  • Dammam (me-central2)
  • Tel Aviv (me-west1)
  • Montreal (northamerica-northeast1)
  • Toronto (northamerica-northeast2)
  • Mexico (northamerica-south1)
  • Sao Paulo (southamerica-east1)
  • Santiago (southamerica-west1)
  • Iowa (us-central1)
  • South Carolina (us-east1)
  • Northern Virginia (us-east4)
  • Columbus (us-east5)
  • Dallas (us-south1)
  • Oregon (us-west1)
  • Los Angeles (us-west2)
  • Salt Lake City (us-west3)
  • Las Vegas (us-west4)
  • Phoenix (us-west8)

流式传输方法

价格(美元)

回填

0 gibibyte to 500 gibibyte
US$0.00 (Free) / 1 gibibyte, per 1 month / account
500 gibibyte and above
US$0.40 / 1 gibibyte, per 1 month / account

使用其他 Google Cloud 资源

除了 Datastream 处理的数据的费用之外,您还需要为转移、存储或处理数据所用的所有资源付费,例如:

价格示例

例如,假设一个数据流所处理的数据的来源具有以下特征:

计算

回填来源中的当前数据

600 GiB

一个月内的更改量 (CDC)

3,000 GiB

目标

BigQuery

地区

爱荷华 (us-central1)

此 Datastream 流将执行现有数据的一次性回填,并从源中捕获持续更改。数据直接写入 BigQuery,因此在 BigQuery 中注入数据不会产生额外费用。

Datastream 价格使用以下公式:

回填费用 =(回填大小 - 500 GiB)* 回填价格 =(600 - 500)* $0.40 = $40.00

CDC 费用 = (2,500 GiB * $2.00/GiB) + (500 GB * $1.50/GiB) = $5,000.00 + $750.00 = $5,750.00

Datastream 总费用 = 回填费用 + CDC 费用 = $40.00 + $5,750.00 = $5,790.00

注意:Datastream 将数据写入 BigQuery 后,BigQuery 变更数据捕获 (CDC) 会处理这些变更并将其应用于现有数据,从而更新 BigQuery 表。BigQuery 处理费用与 Datastream 分开收取。如需详细了解如何控制 BigQuery 费用,请参阅 BigQuery CDC 价格

免费层级价格示例

此 Datastream 流执行现有数据的一次性回填,并捕获正在进行的更改。

使用免费层级计算 TCO

使用量组件

计算

价格(美元)

回填费用

(600 GiB - 500 GiB 免费额度*) × $0.40/GiB

$40.00

CDC 免费层级

前 100 GiB(符合条件的来源)

$0.00

CDC 层级 1

2,400 GiB(剩余的 2,500 GiB 中的部分)× $2.00/GiB

$4,800.00

CDC Tier 2

500 GiB × $1.50/GiB

$750.00

每月总费用

$40.00 + $0.00 + $4,800.00 + $750.00

$5,590.00

*注意:Datastream 为每个结算账号提供 500 GiB 的一次性回填抵用金。

免费层级的影响:

对于适用的来源(AlloyDB 和 Spanner),使用新的免费层级后,前 100 GiB 的 CDC 费用将免除。

  • 之前的 CDC 费用:$5,750.00
  • 新 CDC 费用:$5,550.00
  • 总节省:每月 $200.00。

注意:在 Datastream 将数据写入 BigQuery 后,BigQuery 变更数据捕获 (CDC) 会处理这些更改并将其应用于现有数据,从而更新 BigQuery 表。BigQuery 处理费用与 Datastream 分开收取。如需详细了解如何控制 BigQuery 费用,请参阅 BigQuery CDC 价格

后续步骤

获取定制报价

Google Cloud 采用随用随付的价格模式,您只需为实际使用的服务付费。请与我们的销售团队联系,获取为贵组织量身定制的报价。