Use DMS to shrink Cloud SQL for SQL Server disk

https://storage.googleapis.com/gweb-cloudblog-publish/images/Databases_AZBYEeO.max-2500x2500.jpg

When database engineers hear “database migration", they typically think of a one-time onboarding pathway—moving databases from on-premises environments to the cloud, or between different cloud providers.

However, Google Cloud's Database Migration Service (DMS) supports Cloud SQL for SQL Server as a source. This opens up powerful, non-traditional operational patterns for SQL Server customers within Google Cloud. Because DMS enables continuous, low-downtime database replication between Cloud SQL instances—whether in the same project, across different projects, or across regions—it can serve as an everyday utility for day-two operations like storage management.

In this post, we explore a compelling operational use case for DMS with Cloud SQL for SQL Server: executing disk shrinks with minimal application downtime.

Why should I shrink my disk?

In many production environments, database storage only moves in one direction: up. Features like Cloud SQL automatic storage increaseare essential for preventing out-of-space outages during unexpected traffic spikes,...

Copyright of this story solely belongs to cloud.google.com. To see the full text click HERE

Read more