Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can somebody help me to understand the complete working mechanism/workflow of a SQL Profiler in detail ?
Posted

SQL Server Profiler[^]
Monitoring with SQL Profiler[^]
An, this one from CodeProject - SQL Server Profiler Step by Step[^]

These are top 3 links from Google search result for SQL Profiler[^]
 
Share this answer
 
Comments
sapna62 8-Jun-12 2:36am    
the link you have mentioned contains the functionality,I want to know How its internal working goes.
Ankur\m/ 8-Jun-12 3:01am    
Do you want to make one?
You can still search Google. Try this - internal working of a profiler OR how a profiler works.
sapna62 8-Jun-12 3:34am    
May be ..someday I would be able to make it..Well,I have searched these keywords on google , I was not getting the desired output .
Anyways, thanx for the help.
SQL Profiler is generally used to trace query injected to sql server database.
Now it has filtration option also to filter the query flood by numerous way.

Want more details regarding each option and How it is useful for you then here is the link ?
Must read..

http://www.sqlmag.com/article/tsql3/using-sql-profiler[^]


Hope this helps , If yes then plz accept and vote the answer. Any queries / questions on this are always welcome.

Thanks & Regards
RDBurmon.Sr.Software Engineer
 
Share this answer
 
SQL Server Profiler is a rich interface to create and manage traces and analyze and replay trace results.

The 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.

We can do the following using SQL Server Profiler
  • Create a trace
  • Watch the trace results as the trace runs
  • Store the trace results in a table
  • Start, stop, pause, and modify the trace results as necessary
  • Replay the trace results


Profiler is a graphical user interface to SQL Trace for monitoring T-SQL Statements of Database Engine.
We can save and reuse the state at a later point of time.

This section discusses those in addition to the base tracing capabilities.
Getting Started: Profiler[^]

http://msdn.microsoft.com/en-us/library/ms181091.aspx[^]
Monitoring with SQL Profiler[^]

SQL Server Profiler Step by Step[^]

Use SQL Profiler to:

  • Monitor the performance of an instance of SQL Server.
  • Debug Transact-SQL statements and stored procedures.
  • Identify slow-executing queries.
  • Test SQL statements and stored procedures in the development phase of a project by single-stepping through statements to confirm that the code works as expected.
  • Troubleshoot problems in SQL Server by capturing events on a production system and replaying them on a test system. This is useful for testing or debugging purposes and allows users to continue using the production system without interference.
  • Audit and review activity that occurred on an instance of SQL Server. This allows a security administrator to review any of the auditing events, including the success and failure of a login attempt and the success and failure of permissions in accessing statements and objects.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900