Cloud SQL Wordpress DB connection always on

牧云@^-^@ 提交于 2019-12-25 02:37:27

问题


I have just managed to do this basic installation including the Batcache and the Gapp engine plugin for wordpress on Google cloud using Cloud SQL. I just saw that the total usage is 42 hours of the Cloud SQL instance.

My site has no posts and is fairly new. There are no followers neither visitors. I am wondering why the SQL is always on ? I have it to activate only when requested rather than always on.

Thoughts ?


回答1:


If you set it to on demand it will only connect when its needed. After a few minutes it will shut down again. There will be a spool up time for the first person but it should be very short.



来源:https://stackoverflow.com/questions/25798277/cloud-sql-wordpress-db-connection-always-on

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!