Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 sql profiler

Author  Topic 

poole
Starting Member

6 Posts

Posted - 2007-01-11 : 04:33:42
new to using the sql profiler, i would like to be able to have the profiler running to trace/record when an error appears in the server logs, i also would like the results to be saved in a table. any advice / tips on how to set this up would be very helpful. i have previously tried but seem to end up with information overload. thanks in advance

snSQL
Master Smack Fu Yak Hacker

1837 Posts

Posted - 2007-01-11 : 11:54:52
Everything you want to do is supported, just follow the docs to set it up. As long as you put filters on the events and only select the events you want you should be able to keep the amount of data manageable. If you have specific problems setting it up, post those here and I'm sure someone can help.
Go to Top of Page

MohammedU
Posting Yak Master

145 Posts

Posted - 2007-01-13 : 19:36:40
Running the profiler against busy OLTP server could lead to performance issues... it is better to user back end trace using extended procedures...

http://support.microsoft.com/kb/283790
http://www.sql-server-performance.com/sql_server_profiler_tips.asp
http://www.developer.com/db/article.php/3482216



MohammedU
Go to Top of Page

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2007-01-13 : 22:21:55
I have had problems tracing and looking for certain types of errors. It has never been that big an issue, so I have never tracked down why I was missing certain kinds of errors. Keep that in mind when setting up your trace. You may want to develop a test script that generates the types of errors you are looking for, and then run a test trace to ensure that profiler actually is catching them.

btw, what errors are you looking for?




-ec
Go to Top of Page

ForceF16
Starting Member

13 Posts

Posted - 2007-01-16 : 10:16:40
I google it and hope this helps.

http://sql-server-performance.com/sql_server_performance_audit10.asp

Dan

dan
Go to Top of Page
   

- Advertisement -