Thursday, February 21, 2019

what is Sql server Profiler

SQL Server Profiler is an interface to create and manage traces and analyze and replay trace results.

 Events are saved in a trace file that can later be analyzed or used to replay a specific series of steps when trying to diagnose a problem.

For example, you can monitor a production environment to see which stored procedures are affecting performance by executing too slowly. SQL Server Profiler is used for activities such as:
  • Stepping through problem queries to find the cause of the problem.
  • Finding and diagnosing slow-running queries.
  • Capturing the series of Transact-SQL statements that lead to a problem. The saved trace can then be used to replicate the problem on a test server where the problem can be diagnosed.
  • Monitoring the performance of SQL Server to tune workloads. For information about tuning the physical database design for database workloads.
  • Correlating performance counters to diagnose problems.


No comments:

Post a Comment

How to use SQL pagination using LIMIT and OFFSET

  How to extract just a portion of a larger result set from a SQL SELECT. LIMIT n is an alternative syntax to the FETCH FIRST n ROWS ONLY. T...