Tuesday, November 6, 2018

[google-cloud-sql-discuss] Re: Db instance takes too long to restart

Are you using the 1st Generation or the 2nd Generation Cloud SQL? The Activation Policy of a 2nd Generation Cloud SQL instance is normally set to "ALWAYS" upon being started from a stopped state or upon creation. Alternatively, you can make sure of this by calling [gcloud sql instances patch [INSTANCE_NAME] --activation-policy ALWAYS] command (more information can be found on this link gcloud sql instances patch). Usually instances with an activation policy of 'Always' restart are ready to accept new connections right away but on the other hand Instances with an activation policy of 'On Demand' remain shut down until there is a new connection request for instance, at which time the instance is activated and accepted the request. You can find more details regarding this on Restarting an Instance Guide.


Please note that Google Group is intended for Google Cloud general product discussion purposes only, not for troubleshooting issues. If you think this issue could be caused by a possible bug you can report it in Public Issue Tracker. Issue Tracker is a tool used internally at Google to track bugs and feature requests during product development. So this way we would be able to get a deeper understanding of your issue.


--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/bea95222-9282-4827-a305-0afd78426c1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment