Monday, June 1, 2020

[google-cloud-sql-discuss] Re: My mysql server disk size is 775GB. But the actual database is only 24GB.

Hello, Priya

I understand you would like to know a way in which you could reduce the Size of your CloudSQL instance, consequently, reducing your Billing Charges for the present storage. Sadly, at the moment, there is no way to actually achieve this[1]. There is a feature request[2] available for this implementation and the CloudSQL team are reviewing the possibility, how it fits into the Road-map of CloudSQL. At the moment, however, this is not possible. 

A workaround, as addressed in this Stackoverflow link[3] would be to create an SQL dump file[4] of your CloudSQL Database, create a new Cloud SQL instance with the desired capacity, then import the SQL dump file so that all your data is stored in the new instance.

[2]https://issuetracker.google.com/63069754
[4]https://cloud.google.com/sql/docs/mysql/import-export/exporting#export-mysqldump

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/c4eada98-0244-4c38-9acf-49957f28a95e%40googlegroups.com.

No comments:

Post a Comment