What is the meaning of the time under the result of MySQL query? -


is time when machine executes query or includes time machine displays query?

i ask question because access remote mysql server computer, , result receive ~ 5000 records in ~15s. same thing right in remote mysql server same user, receive 5000 records in ~0.02s.

why 2 timings different?

the reason why takes bit more time

  • you execute queries remotely
  • you execute queries locally

the network transfer time needs taken in when queries run through network. can checkout post understand network latency better.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

c++ - Accessing inactive union member and undefined behavior? -

php - Get uncommon values from two or more arrays -