Measuring Query Performance : “Execution Plan Query Cost” vs “Time Taken”

前端 未结 6 976
天涯浪人
天涯浪人 2020-11-29 20:10

I\'m trying to determine the relative performance of two different queries and have two ways of measuring this available to me:
1. Run both and time each query
2. Ru

6条回答
  •  执念已碎
    2020-11-29 21:07

    Use SET STATISTICS TIME ON

    above your query.

    Below near result tab you can see a message tab. There you can see the time.

提交回复
热议问题