MySQL Forums
Forum List  »  Performance

Re: Query profile: sending data
Posted by: James Brown
Date: January 09, 2009 05:40AM

I've done 2 tests, and both retrieve a number: SELECT COUNT(*) FROM ...
This way, the "sending data" time should be the same. However, one query is more complex than the other and obviously the complex query takes more wall time to execute than the easier one. The thing is that the "sending data" time is not the same: the complex query spends a lot of time "sending data" and the other query spends no time in "sending data". At this point I have 2 hypothesis:

1. The "sending data" time is part of the execution time and has little relation with the real sending data time.
2. The client performs some kind of work so some tables need to be sent to the client (not just the result).

Any idea?

Options: ReplyQuote

Written By
January 08, 2009 10:05AM
January 09, 2009 12:08AM
Re: Query profile: sending data
January 09, 2009 05:40AM
January 12, 2009 12:46AM
January 12, 2009 05:42AM
March 12, 2009 04:21PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.