title: Google Cloud SQL increasing size until full disk with no reason
body: <p>I don't know how to explain this well, but I will try.</p>
  <ul>
  <li>I use Google Cloud SQL second edition with 20 GB disk size.</li>
  <li>I have several wp. databases with 166.5 MB Total size.</li>
  </ul>
  <p>And right now my Storage usage is 9.52 GB! (With 166.5 MB SQL data...) and increasing still going faster...</p>
  <p>What to do?!</p>
  <p><a href="https://i.stack.imgur.com/9tg7t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9tg7t.png" alt="gcloud-sql-problem-increasing-size" /></a></p>
  <p><a href="https://i.stack.imgur.com/93c7d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/93c7d.png" alt="enter image description here" /></a></p>
  <p><strong>UPDATE :</strong></p>
  <p>I solve this with :</p>
  <ul>
  <li>I made an export in bucket</li>
  <li>I created a new instance Cloud SQL</li>
  <li>Import from bucket</li>
  <li>And delete instance with problem.</li>
  </ul>
  <p>(And changed ip from my applications)</p>
  <p>I don't know sure where problem come from but could be a &quot;Storage overhead from binary logs&quot;.</p>
  <p>Next time will check binary logs with : <code>mysql&gt; SHOW BINARY LOGS;</code></p>
  <p>What I think Google is missing is a <strong>purge binary logs</strong>! (an easy way!)</p>
  <p><strong>UPDATE FINAL :</strong></p>
  <p>With binary logs active, storage of your cloud SQL will expand continuously.</p>
  <p>For anyone in the same situation, you can edit the instance and uncheck binary logs, after that the current binary logs will purge.</p>
  <p>Sorry for my noob problem! :D (I'm a beginner in Server administration.)</p>
  <p>Thanks <strong>Vadim</strong>!</p>