Solved

Schedule an unattended SQL profiler 2008 Trace

Posted on 2012-03-20
1
436 Views
Last Modified: 2012-08-14
Hi,
I need to trace server performance. I wish to enable an unattended trace at night.
The trace should start at say 10pm and must end by 2 am.

I won't get many attempts to do this. I have seen  methods on google and wish to know the one you have used and worked under SQL 2008.

Thanks
0
Comment
Question by:crazywolf2010
1 Comment
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 37745526
use sp_trace_create proc
and the below article instructions

How to Build a Profile Script to Monitor SQL Server off Hours

By Gregory A. Larsen
http://www.databasejournal.com/features/mssql/article.php/3707326/How-to-Build-a-Profile-Script-to-Monitor-SQL-Server-off-Hours.htm
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question