Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACTUAL SQL TRACING

Status
Not open for further replies.

rajeevnandanmishra

Programmer
Jun 1, 2001
379
IN
My application is suddenly started taking longer time while updating sql server data.
In a particular form, I am updating TABLE1 with a single record. And on TABLE1 i had a trigger on update, which again updates two more tables. I want to check where is the bottleneck.
I had opened the SQL Trace but it shows me only the UPDATE command for first Table. I want to know the sql activity after the update command i.e. the trigger activity.

Please let me know about it, If it is possible. It is urgent.

Thanks in advance.
 
Have you tried SQL Server Profiler? Create a trace in it using the Trace Wizard - Worst Performing Queries, then edit its profile and tweak it as necessary (add and remove filters, etc). Robert Bradley
Sr. DBA, some big company
cheap prints and oil paintings:
 
Thanks Foxdev,

But i am working in SQL 6.5

Is there any way to work out the same in 6.5.

 
Hi, Tom. I'm not a 6.5 user, so I'm asking out of ignorance: is the 6.5 "Trace Utility" effectively the same thing as SQLS 7/2K's SQL Server Profiler? Robert Bradley
Sr. DBA, some big company
cheap prints and oil paintings:
 
just curiously, can you not just execute the triggers manually? ie. extract them and modify them enough with values that would be passed? then the sql trace should pick it up!

Paul

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top