| Author |
Topic |
|
sunsanvin
Master Smack Fu Yak Hacker
1274 Posts |
Posted - 2008-12-18 : 07:21:32
|
| Dear Experts,my production box is APDB which runs windows server 2003 with sql server 2005.i'd like to run the profiler on a client machine for production. will it affect the production? is it good to take the traces and put those as input to the database tuning advisor?if it is not a problem running the profiler continuously, please provide me some good links to support this.please help me in this regardArnavEven you learn 1%, Learn it with 100% confidence. |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2008-12-18 : 07:31:25
|
| You can run profiler continually. It's going to hurt the server's performance, but you can do it.I've just finished with a thread where profiler brought the server downhttp://www.sqlservercentral.com/Forums/Topic620889-360-1.aspxIf you want a permanent trace, use a server-side trace rather. (look up the sp_trace* procedures in Books Online). You can get profiler to create the script for you.--Gail ShawSQL Server MVP |
 |
|
|
sodeep
Master Smack Fu Yak Hacker
7174 Posts |
Posted - 2008-12-18 : 09:28:07
|
| Any reason to run Profiler continously? |
 |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2008-12-18 : 11:38:46
|
quote: Originally posted by sodeep Any reason to run Profiler continously?
Security audit's one I've run into before. Can't think of any other good reason.--Gail ShawSQL Server MVP |
 |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2008-12-18 : 13:51:30
|
| In SQL Server 2005 there is a default trace that does run continuously.It does not gather a huge number of events, but it is there and running by default.Auditing: SQL Server’s Built-in Traceshttp://msdn.microsoft.com/en-us/library/cc297240.aspxCODO ERGO SUM |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
sunsanvin
Master Smack Fu Yak Hacker
1274 Posts |
Posted - 2008-12-19 : 01:36:57
|
| MVJ, thank you for the good link...but i'm not sure how can i trace? for example, a user dropped a table. hoe can find by using the trace? i missed at some where in the article. please guide meArnavEven you learn 1%, Learn it with 100% confidence. |
 |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
|
|
|