PdfPrep.com

What should you recommend?

You have a database that users query frequently.

The users report that during peak business hours, the queries take longer than expected to execute.

A junior database administrator uses Microsoft SQL Server Profiler on the database server to trace the session activities.

While performing the trace, the performance of the database server worsens, and the server crashes.

You need to recommend a solution to collect the query run times. The solution must minimize the impact on the resources of the database server.

What should you recommend?
A . Increase the free space on the system drive of the database server, and then use SQL Server Profiler on the server to trace the session activities.
B . Collect session activity data by using SQL Server Extended Events.
C . Clean up tempdb, and then use SQL Server Profiler on the database server to trace the session activities.
D . Collect performance data by using a Data Collector Set (DCS) in Performance Monitor.

Answer: B

Explanation:

SQL Server Extended Events has a highly scalable and highly configurable architecture that allows users to collect as much or as little information as is necessary to troubleshoot or identify a performance problem. Extended Events is a light weight performance monitoring system that uses very few performance resources. Extended Events provides two graphical user interfaces (New Session Wizard and New Session) to create, modify, display, and analyze your session data.

References: https://docs.microsoft.com/en-us/sql/relational-databases/extended-events/extended-events? view=sql-server-2017

Exit mobile version