70-465 · Question #171
You have a SQL server 2014 server that has several databases. You are designing a performance monitoring strategy for the server. You need to recommend a solution to log and track the performance of…
The correct answer is D. SQL Trace. To log and track stored procedure performance on SQL Server 2014 with minimal resource usage, a server-side SQL Trace is the recommended solution.
Question
Options
- ASQL server extended events
- BActivity monitor
- CSQL server profiler
- DSQL Trace
How the community answered
(38 responses)- A11% (4)
- B3% (1)
- C5% (2)
- D82% (31)
Why each option
To log and track stored procedure performance on SQL Server 2014 with minimal resource usage, a server-side SQL Trace is the recommended solution.
While SQL Server Extended Events offer a modern and generally efficient event collection mechanism introduced in SQL Server 2008, the question implies a specific context where a well-configured server-side SQL Trace is deemed the most appropriate and resource-efficient solution for tracking stored procedures in SQL Server 2014.
Activity Monitor provides real-time, high-level overview data and current activity, but it lacks the detailed, persistent logging and specific event filtering capabilities necessary for historical analysis of individual stored procedure performance.
SQL Server Profiler is a client-side graphical tool that utilizes SQL Trace but generates significant performance overhead on both the client and the server due to its GUI and detailed event capture, making it unsuitable for resource-sensitive production monitoring.
SQL Trace, when configured as a server-side trace using Transact-SQL system stored procedures, provides a highly efficient method to capture specific events like stored procedure completion or RPC calls directly to a file on the server. This approach minimizes resource overhead by avoiding client-side interaction and the graphical interface of Profiler, making it suitable for low-impact performance monitoring in SQL Server 2014.
Concept tested: SQL Server Stored Procedure Performance Monitoring
Source: https://learn.microsoft.com/en-us/sql/relational-databases/sql-trace/create-a-trace-sql-server
Topics
Community Discussion
No community discussion yet for this question.