Database Migration Service 价格

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

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

价格摘要

Database Migration Service 的价格因两种潜在的迁移类型而异:

  • 同构用例,即源数据库和目标数据库使用相同的数据库引擎。
  • 异构用例,即源引擎和目标引擎不同。

对于同构用例,以原生方式迁移到 Cloud SQL 或 AlloyDB for PostgreSQL 时,Database Migration Service 无需额外费用:

对于异构迁移,价格基于处理的千兆字节 (GiB) 数。用量计费基于每个迁移作业并以字节为增量,用 GiB 表示(例如,500 MiB 为 0.5 GiB),但每月前 500 GiB 的回填免费。以原始(未压缩)数据为基础计算字节数。

同质用例定价

能力

基本费用

备注

MySQL 以原生方式迁移或复制到 Cloud SQL for MySQL

无需额外费用

1,2,3

PostgreSQL 以原生方式迁移或复制到 Cloud SQL for PostgreSQL 或 AlloyDB for PostgreSQL

无需额外费用

1,2,3

异构应用场景定价

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

Database Migration Service 通过以下两种方法之一将数据从来源迁移到目标位置:

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

每种迁移方法按不同的费率计费,具体请参阅价格详情。

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

价格详情

在本部分中,您将看到使用 Database Migration Service 时每种迁移方法适用的费用。

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

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

  • 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)

迁移方法

价格 (USD)

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

回填

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 TiB 时,请向销售人员咨询价格 (CDC)。

价格示例

例如,假设有一个迁移作业处理的数据来自具有以下特征的来源:

回填来源中的当前数据

600 GiB

一个月内的更改量 (CDC)

3,000 GiB

目标

Cloud SQL for PostgreSQL

区域

爱荷华 (us-central1)

此 Database Migration Service 将执行现有数据的一次性回填,并从源中捕获更改。

Database Migration Service 价格使用以下公式:

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

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

Database Migration Service 总费用 = 回填费用 + CDC 费用 = $40.00 + $5,750.00 = $5,790.00

在本例中,使用 Cloud SQL for PostgreSQL 目标资源会产生额外费用。您可以使用价格计算器来估算单独的 Google Cloud 资源费用。

有关迁移价格的说明

所有迁移

1. Cloud SQL MySQLPostgreSQLAlloyDB for PostgreSQL 价格包含迁移过程创建 Cloud SQL 或 AlloyDB for PostgreSQL 实例所产生的费用,以及跨 Google Cloud 区域进行迁移所产生的任何网络费用。

2.Compute Engine 虚拟机价格包含使用在反向 SSH 连接设置中创建的虚拟机所产生的费用。

从其他平台迁移

3. 来自外部源数据库的网络入站流量不会产生额外的费用。不过,在 Google 外部使用 Database Migration Service 可能会产生费用,如平台数据传输费用。

申请自定义报价

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