|
|
Up |
|
|
  |
Author: MaggieMaggie Date: May 6, 2008 11:34
Platform: SQL Server 2000 with sp4 , Win2k3
Can I schedule the SQL profiler to run autimatically on certain time?
Thank you.
Maggie
|
| |
|
| | 8 Comments |
|
  |
|
|
  |
Author: Erland SommarskogErland Sommarskog Date: May 6, 2008 15:13
Aaron Bertrand [SQL Server MVP] (ten.xoc@dnartreb.noraa) writes:
> I don't think you want to schedule an interactive GUI to run at certain
> times. You should schedule a server-side trace (not using the Profiler
> GUI) to capture data to a trace table.
|
| |
| no comments |
|
  |
Author: Aaron Bertrand [SQL Server MVP]Aaron Bertrand [SQL Server MVP] Date: May 6, 2008 16:36
Again, depending on how much data is actually being saved, I would argue
that USING the data from a table is going to be far easier than a file in
the long run. :-)
On 5/6/08 6:13 PM, in article Xns9A9725C6292FYazorman@ 127.0.0.1, "Erland
Sommarskog" wrote:
> Aaron Bertrand [SQL Server MVP] (ten.xoc@dnartreb.noraa) writes:
>> I don't think you want to schedule an interactive GUI to run at certain
>> times. You should schedule a server-side trace (not using the Profiler
>> GUI) to capture data to a trace table.
>
> And it's far better to trace to file than to a table.
>
>
|
| |
| no comments |
|
  |
Author: Erland SommarskogErland Sommarskog Date: May 7, 2008 00:17
Aaron Bertrand [SQL Server MVP] (ten.xoc@dnartreb.noraa) writes:
> Again, depending on how much data is actually being saved, I would argue
> that USING the data from a table is going to be far easier than a file in
> the long run. :-)
|
| |
| no comments |
|
  |
Author: Andrew J. KellyAndrew J. Kelly Date: May 7, 2008 05:47
I agree with Erland and tracing directly to a table will most likely impede
overall performance of the server while tracing to a file will likely not
see an impact. I actually do all my analyzing directly from the files and
never touch a table but that is not to say a table will not be useful to
some. Just don't impede performance gathering the data in the first place.
--
Andrew J. Kelly SQL MVP
Solid Quality Mentors
"Erland Sommarskog" wrote in message
news:Xns9A975E5A39CBYazorman@127.0.0.1...
> Aaron Bertrand [SQL Server MVP] (ten.xoc@dnartreb.noraa) writes:
>> Again, depending on how much...
|
| Show full article (1.33Kb) |
| no comments |
|
  |
Author: Aaron Bertrand [SQL Server MVP]Aaron Bertrand [SQL Server MVP] Date: May 7, 2008 05:53
Yes, and I was only suggesting a table in the first place because scheduling
a trace seems to imply that it will be for a limited amount of time and
therefore, hopefully, a limited amount of data and impact on the server.
On 5/7/08 8:47 AM, in article uqbd0BEsIHA.5096@TK2MSFTNGP02.phx.gbl, "Andrew
J. Kelly" shadhawk.com> wrote:
> I agree with Erland and tracing directly to a table will most likely impede
> overall performance of the server while tracing to a file will likely not
> see an impact. I actually do all my analyzing directly from the files and
> never touch a table but that is not to say a table will not be useful to
> some. Just don't impede performance gathering the data in the first place.
|
| |
| no comments |
|
  |
Author: Andrew J. KellyAndrew J. Kelly Date: May 7, 2008 11:24
I routinely run traces for only a minute or less but end up with GB's worth
of trace information. Time is not as important as the frequency and type of
statements executed along with what events are being captured.
--
Andrew J. Kelly SQL MVP
Solid Quality Mentors
"Aaron Bertrand [SQL Server MVP]" wrote in message
news:C4471E78.3BE9%%ten.xoc@dnartreb.noraa...
> Yes, and I was only suggesting a table in the first place because
> scheduling...
|
| Show full article (1.17Kb) |
| no comments |
|
  |
|
|
  |
Author: Aaron Bertrand [SQL Server MVP]Aaron Bertrand [SQL Server MVP] Date: May 7, 2008 11:27
> I routinely run traces for only a minute or less but end up with GB's worth
> of trace information. Time is not as important as the frequency and type of
> statements executed along with what events are being captured.
I know, that is why I initially said, " depending on how much data your
trace is collecting (both which columns, and how the filters are limiting
rows)."
|
| |
| no comments |
|
|