Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud SQL Storage Usage High Issue

We have Setup Cloud SQL in google cloud with configuration of Tier db-n1-standard-4 with storage of 100GB SSD. My actual database size is having only 160MB Max but in Cloud Cloud SQL instances it showing up to 72GB used i don't know why? and its still increasing per day about 10GB. Can anyone explain about this issue.

Thanksenter image description here

like image 894
Rupesh kumar Avatar asked Apr 19 '17 04:04

Rupesh kumar


1 Answers

Most of the time this is due to binary logs that are used for replication. The growth of binary logs is roughly proportional to the amount of modified rows.

Binary logs are purged after 7 days so the space will stabilize after 7 days.

like image 69
Vadim Avatar answered Oct 09 '22 10:10

Vadim