SQL Databases are so astonishingly slow that I just switched my most intensive app to only use the database for backing up the data to disk and reloading from on startup.
This arrangement is so much faster and easy to understand/measure/optimize for me that I can't see myself going back.