While configuring an XEvent session is simple enough when you have access to the server, if you find yourself in a situation where you need to analyze server or application performance remotely, XEvents can be a challenge. As we discussed in the Introducing Extended Events section, we can save the XEvent session as a script file and send it to someone to run, but in order to analyze the data we'll need a file target, and configuring one requires knowledge of the disk layout of the system. Also, we would need to ensure that the person we send the script to has at least basic SQL Server knowledge such as how to open, edit, and execute a T-SQL script along with the rights to create an XEvent session. ...
Remote collection with PSSDiag and SQLDiag
Get Learn T-SQL Querying now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.