Reputation: 713
In Google CloudSql you cannot monitor RAM, and as far as I can tell, you cannot monitor disk/cache usage.
So when do you decide to increase RAM? When users complain it's slow? Slow queries counter increases? Number of aborted connections? Just follow my guts?
Thanks
Upvotes: 0
Views: 590
Reputation: 2072
Use this query in your mysql instance:
show global status like 'INNODB_BUFFER_POOL_PAGES_%';
Then look at the "Innodb_buffer_pool_pages_free" and "Innodb_buffer_pool_pages_total" variable to see how many pages are free compare to how many pages are allocated to your instance. Each page is 16KB.
Upvotes: 3