Jump to content

Interpreting Query Profiling Data


PatrickE

Recommended Posts

Alright, I upgraded my server to MySQL 5.0.37 to take advantage of the new query profiling feature.

 

It appears to me that the "init" stage seems to be taking the longest. Here is the profile of an update query to my players table.

 

Status Duration
checking permissions 0.00008500
Opening tables 0.00001600
System lock 0.00004300
Table lock 0.00001400
init 7.72684800
Updating 0.00006300
end 0.00014500
query end 0.00003400
freeing items 0.00001400
closing tables 0.00001500
logging slow query 0.00001400
cleaning up 0.00001200

 

Do any of you have an idea of what I can do to lower the time for it?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.