We just set up a “New Relic” for monitoring, and he says that 90% of our query time is spent on MySQLdb:connect
- between one and ten seconds per request!
Django seems to open a new MySQL connection for each query. How can I further diagnose what is happening? Are there any Django or MySQL options that I can use to speed up my MySQL connection?
Note. I excluded DNS because the interfaces connect to the database using digital IP.
source share