all posts

// 3 November 2026 · via Google Cloud Blog

Shrinking a Cloud SQL for SQL Server disk without long downtime

Google Cloud shows how Database Migration Service can shrink an oversized Cloud SQL for SQL Server disk with a short cutover. What to check first.

What happened

Google Cloud published a walkthrough on using Database Migration Service (DMS) to shrink disks on Cloud SQL for SQL Server. The built-in shrink feature needs downtime that grows with the total disk size, which can mean hours for multi-terabyte drives. The alternative is to replicate your databases to a new instance with a smaller disk, then switch over in a short window.

Why it matters

Cloud SQL disks tend to grow and never come back down. Automatic storage increase protects you from running out of space during a spike, a big import or index maintenance. But once you have archived data, dropped indexes or split a monolith, the provisioned disk stays at its peak, and you keep paying for it.

For a team without a platform team, this is the sort of cost nobody owns. The disk is oversized, the saving is real, but a long outage is hard to justify, so it never gets done.

The DMS approach works much like native log shipping: a full backup is restored on the new instance, then transaction log backups keep it in sync. There is one catch the source points out. Replication happens at the user database level, so logins, linked servers and SQL Server Agent jobs are not carried over. You have to move those by hand, and forgetting them is how a tidy cutover turns into an incident.

What to do this week

  • Compare the database/disk/bytes_used and database/disk/quota metrics in Cloud Monitoring for each SQL Server instance, to see where provisioned space far exceeds real use.
  • Check free space inside your database files, using the query in the Google post, before assuming the disk is the problem.
  • For any candidate, list the server-level objects you would need to recreate: logins, linked servers and Agent jobs.
  • Decide what downtime your SLA really allows. If a planned window is acceptable, the native shrink may be simpler. If not, plan the DMS route.
  • Rehearse on a non-production copy first, and write down the cutover steps, including how you would roll back.

Need a hand?

Moving a live database between instances is a small migration, and the risk sits in the details around it. Our team helps with exactly this kind of work, from sizing the new instance to planning the cutover. You can read more about our cloud migration service. The first call is free and is with an engineer, not a salesperson.

Source: Beyond Migration: Using Database Migration Service for disk shrinking

Related service: Cloud Migration

Tell us where it hurts.

The first call is free — and it's with an engineer.