SQL Server Profiler Tool

Source: Internet
Author: User

ms SQL Server Profiler Overview:
ms SQL Server Profiler is a GUI interface for SQL trace, provides event monitoring for SQL Server database engine or analysis service instances. Developers can capture event-related data to physical files or DB tables to facilitate future analysis performance.
SQL trace is a series of system stored procedures for SQL Server database engine trace. For more information, see: http://msdn.microsoft.com/en-us/library/ms191006 (SQL .90). aspx

SQL Server Profiler idioms:
Event: actions generated by SQL Server engine, such as DB connections and DML execution.
Event class: a specific type of event, such as DB connection successful.
Data column: attribute in event class.
Trace: capture information based on event class, data column, and filter.
Filter: Data column-based capture conditions.
Template: The specific configuration of Trace, which can be reused.

SQL Service profiler function:
Creates a trace based on reusable templates;
Observe the trace result set during the trace operation;
Store the trace result set in a physical file or DB table;
Start, stop, pause, and modify the trace result set;
Reproduce the trace result set

template:
you can create and save a custom template on the UI, the tool also provides several templates to meet common trace requirements.
sp_counts: capture the execution behavior of the stored procedure.
standard: capture the currently executed stored procedures and SQL statements.
tsql: capture the SQL statements submitted to the engine by the client.
tsql_duration: capture the execution time of SQL statements submitted to the engine by the client.
tsql_grouped: capture the SQL Execution statistics of specific clients.
tsql_replay: capture SQL Execution that can be reproduced.
tsql_sps: capture the details of all stored procedures in progress.
tuning: capture the specific status of all the stored procedures or SQL statements being executed.

associate trace with Windows performance log data:
open a trace file or data table containing starttime and endtime, in the "file" menu of "SQL Server Profiler", select "import performance data" and select the system monitor object to be associated with trace .

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.