【发布时间】:2018-03-08 18:04:21
【问题描述】:
我们的 cloudSQL 数据库会定期崩溃。
我们在日志中看到的错误是:
[ERROR] InnoDB: Write to file ./ib_logfile1failed at offset 237496832, 1024 bytes should have been written, only 0 were written. Operating system error number 12. Check that your OS and file system support files of this size. Check also that the disk is not full or a disk quota exceeded.
据我了解,错误号 12 的意思是“无法分配内存”。有没有办法我们可以配置 cloudsql 以留下更大的可用内存缓冲区?另一种方法是升级以获得更多内存,但据我了解,cloudSQL 会自动使用所有可用的内存......这可能会减少问题还是可能会以同样的方式继续存在? 我们还能做些什么来减少这个问题?
【问题讨论】:
标签: mysql google-cloud-platform google-cloud-sql