extended events rpc_completed duration does not matching with rpc_starting

  • Does rpc_completed duration (micro_sec) = rpc_starting.timestamp - rpc_completed.timestamp? In my case, I saw a big difference between them. Duration is only few millsec, where rpc_starting.timestamp - rpc_completed.timestamp is 6 - 10 sec. I am on sql server 2016.

    xevent_rpc_duration

    • This topic was modified 4 years, 9 months ago by jandrewan.
    • This topic was modified 4 years, 9 months ago by jandrewan.
  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • The duration only includes the time that the query ran on the server. It doesn't include any transfer times or waits at the start of execution.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply