Solved

Schedule an unattended SQL profiler 2008 Trace

Posted on 2012-03-20
1
432 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

     When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now