Sampling time - determines how long the results are transferred, which has nothing to do with the query. I would not consider it as a function of debugging / optimizing a sql query, since the sampling time depends on the network connection, which in itself has nothing to do with query optimization. If the sampling time is a bottleneck, then most likely there are network problems.
Note. Sampling time may change each time the query is executed.
Duration is the time that the request should be completed. You should try to minimize it while optimizing SQL query performance.
Link
Leri May 7 '14 at 10:19 2014-05-07 10:19
source share