Friday, August 23, 2019

Re: [google-cloud-sql-discuss] Cloud MySQL Free Memory

Devin,

Why is memory usage a concern on Cloud SQL? The design of MySQL is to use as much memory as possible for caching (around 80%).

If you have a connection count issue, the correct approach is to 1) fix connection leaks in your code 2) use connect pooling.

On 8/23/2019 7:13:50 PM, Devin Homan <devin@flyntlok.com> wrote:

Is it possible to tell MySQL to free-up memory?  When the memory usage gets to a certain point, say 95% used,  Google Cloud MySQL will automatically free the memory and close most connections. Is there any way to manually trigger this behavior?

--
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/178a475b-f525-4428-91d7-6ec39cbc9099%40googlegroups.com.

--
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/debcf9f1-4223-4a0b-b7be-01db99b1625b%40getmailbird.com.

No comments:

Post a Comment