Error Establishing Connection

Website is going up, and down periodically. Checked with the hosting provider, and they are pointing the issue is related to too many requests to the database, and with memory overflow

Would like to know if there is anything specific that could be done regarding this within the WordPress side.