问题描述
我刚刚设法使用Cloud SQL在Google云上执行了基本安装,包括Batcache和Gapp引擎插件。
我刚刚看到Cloud SQL实例的总使用量为42小时。
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.
我的网站没有帖子,而且相当新。
没有追随者,也没有访客。
我想知道为什么SQL总是在?
我只有在被要求时才会激活,而不是始终开启。
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 ?
推荐答案
如果您将它设置为按需,它只会在需要时连接。几分钟后它会再次关闭。第一个人会有一段时间,但应该很短。
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.
这篇关于始终开启云端SQL Wordpress数据库连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!