0

A user is opening a page in our application which takes around 35 seconds. I want to see what is happening in the database during this time. What's the best way to do this, doing a trace? Thanks!

1

1 Answer 1

1
  • Best scenario is only do this test and not let anything else run on the server during the test.
  • If not isolate one application server for this purpose so you can filter with host name or login (whatever is easier in your case).
  • Set up an extended event trace with the events you want to capture, include necessary Global Fields.
  • Set up data storage type event_file so you can review the result later and even load into a SQL Server database table.
  • Since you are capturing the trace under one minute I would not bother to roll files.
  • If you are not familiar with Extended Event trace search for 'getting started with extended events' and you will see a large amount of useful resources.
1
  • 1
    Thanks for the info, I'll give it a shot. I can do this on a test server to isolate the action.
    – cspell
    Aug 24, 2017 at 0:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.