This page describes pricing for Database Migration Service. To see the pricing for other products, read the Pricing documentation.
If you pay in a currency other than USD, then the prices listed in your currency on Google Cloud SKUs apply.
Database Migration Service pricing is different between the two potential migration types:
For homogenous use cases, Database Migration Service is offered at no additional charge for native migrations to Cloud SQL or AlloyDB for PostgreSQL:
For heterogeneous migrations, pricing is based on gigabytes (GiBs) processed. Usage is billed in per-byte increments, on a per-migration job basis, and is stated in GiB (500 MiB is 0.5 GiB, for example), but the first 500 GiB of backfill each month is free. Bytes are counted, based on raw (uncompressed) data.
Change data capture (CDC) and backfill
Database Migration Service is migrating data from a source to a destination by one of two methods:
Each migration method is charged at a different rate, described in Pricing details.
Note: Events that are read by Database Migration Service but not written to the destination aren't counted.
Pricing details
In this section, you'll see the charges that apply for each migration method when using Database Migration Service.
To see the costs that you'll incur for using Database Migration Service where Database Migration Service is available, select a region from the drop-down menu below.
Database Migration Service CDC costs are tiered, meaning that as your usage increases, the price per GiB decreases. The reduced price applies only to usage within the tier (GiBs processed in lower tiers will still be charged based on the cost for that tier). Backfill uses a flat rate, but the first 50 GiB each month is free. See a detailed example below.
Migration method | Price (USD) |
---|---|
CDC | 0 gibibyte to 2,500 gibibyte $2.00 / 1 gibibyte, per 1 month / account 2,500 gibibyte to 5,000 gibibyte $1.50 / 1 gibibyte, per 1 month / account 5,000 gibibyte to 10,000 gibibyte $1.20 / 1 gibibyte, per 1 month / account 10,000 gibibyte and above $0.80 / 1 gibibyte, per 1 month / account |
Backfill | 0 gibibyte to 500 gibibyte $0.00 (Free) / 1 gibibyte, per 1 month / account 500 gibibyte and above $0.40 / 1 gibibyte, per 1 month / account |
If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.
Contact sales for pricing beyond 10 TiB (CDC).
Pricing example
As an example, consider a migration job that processes data from a source with the following characteristics:
Backfill of data currently in the source | 600 GiB |
Volume of changes in a month (CDC) | 3,000 GiB |
Destination | Cloud SQL for PostgreSQL |
Region | Iowa (us-central1) |
This Database Migration Service will perform a one-time backfill of existing data, as well as capture changes from the source.
Database Migration Service pricing would use the following formula:
Backfill charge = (backfill size - 500 GiB) * backfill price = (600 - 500) * $0.40 = $40.00
CDC charge = (2,500 GiB * $2.00/GiB) + (500 GiB * $1.50/GiB) = $5,000.00 + $750.00 = $5,750.00
Total Database Migration Service charge = Backfill charge + CDC charge = $40.00 + $5,750.00 = $5,790.00
In this example, additional charges would be incurred for the Cloud SQL for PostgreSQL destination resource used. The Pricing calculator can be used to estimate separate Google Cloud resource costs.
All migrations
1. Cloud SQL pricing for MySQL, PostgreSQL and AlloyDB for PostgreSQL applies to Cloud SQL or AlloyDB for PostgreSQL instances created by a migration, and any network charges for migrations across Google Cloud regions.
2. Compute Engine VM pricing applies to usage of a virtual machine if created in the context of reverse-SSH connectivity setup.
Migrations from other platforms
3. There's no additional charge for network ingress from external source databases. However, costs can be incurred outside of Google such as platform data transfer charges.