Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Sleeping mysql connections after finish and disconnect

by nikosv (Deacon)
on Sep 18, 2015 at 20:57 UTC ( [id://1142461]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Sleeping mysql connections after finish and disconnect
in thread Sleeping mysql connections after finish and disconnect

Could be one or more of related bottlenecks:

Do you have optimized statistics for the table?

are you using transactions?do you exclusively lock the whole table or do do use page level locking?
If you lock the whole table exclusively for each transaction you do have a big issue.
There is also possibility that transactions within a session are getting hung and being zombied but not the session itself

ISAM tables are notorious for overflow pages,better try a btree structure

Are your queries using the indexes? are you using functions in the where clause?

what is the query execution plan's estimation on Disk I/O resources for the given queries?
  • Comment on Re^3: Sleeping mysql connections after finish and disconnect

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1142461]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-24 17:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found