Thank you for temporary fix. Can you tell me what a problem is?
After a problem occurs i disable all cache plugins and clear CDN cache.
Before update your themes everything work fine.
About database the only think what I do was extended cloud DB to 1 GB of RAM then i restart Cloud server. Restarting and extending RAM was on coming soon mode.