473,385 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

The best way to use the Database Engine Tuning Advisor

Hello all,

I want to use the SQL Server 2005 Tuning Advisor on our database, and
I'm hoping someone here can just confirm the steps for me. We have a
10GB database that has a number of applications hitting it constantly,
all performing many SELECTs, INSERTs and UPDATEs. Are the following
the steps I need to take?

1. Stop all the applications hitting the database.
2. Make a backup of the database.
3. Start the profiler on the original database.
4. Turn on all the applications again.
5. Wait for a time before turning off the profiler and saving the
profile.
6. Run the tuning wizard against the backup database using the saved
profile.

Do I have to do this every time or am I missing something obvious? I'm
under the impression I need the backup because our database has a high
volume of INSERTs and UPDATEs so I have to make sure the state of the
database matches the state of the profile.

As a matter of interest, why is it not possible for the tuning wizard
to analyse the database using the *current* activity? Why does it have
to be a 'pre-recorded' workload?

Many thanks,
Tommy.

Sep 27 '07 #1
4 3068
Hi again,

Did anyone have any thoughts on this? I want to make sure I'm doing it
properly before diving in!

Thanks,
Tommy.

Oct 1 '07 #2
On Oct 1, 10:02 am, Tommy Hayes <tommy.ha...@gmail.comwrote:
Hi again,

Did anyone have any thoughts on this? I want to make sure I'm doing it
properly before diving in!

Thanks,
Tommy.
SQL SERVER 2005 does not require of you to do a backup each time you
are performing this tuning task.

Oct 1 '07 #3
SQL SERVER 2005 does not require of you to do a backup each time you
are performing this tuning task.
Thanks for your reply.

If I need to record a set of work on the database, don't I need to
back it up so that I can re-apply that set of work to the backup
during the tuning? I can't apply a set of work twice to the same
database (once during the recording, the second time during the
tuning) as the database is stateful and cannot have the same
operations performed twice on it.

Or am I missing something?

Thanks.

Oct 1 '07 #4
I found out I was missing something big after all:

The Tunding Advisor does *not* execute the workload on the database -
it just uses it to ask "what if?" questions.

- Tommy.

Oct 2 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Michael Lauzon | last post by:
Database Normalisation Advisor Designated Contact: thox, xpl2 Status: Open Open Date: 2004-10-26 11:53 For Project: Lands of Myths & Legends (http://sourceforge.net/projects/lamyle/) Long...
1
by: Michael Lauzon | last post by:
Database Normalisation Advisor Designated Contact: thox, xpl2 Status: Open Open Date: 2004-10-26 11:53 For Project: Lands of Myths & Legends (http://sourceforge.net/projects/lamyle/) Long...
0
by: Michael Lauzon | last post by:
Database Normalisation Advisor Designated Contact: thox, xpl2 Status: Open Open Date: 2004-10-26 11:53 For Project: Lands of Myths & Legends (http://sourceforge.net/projects/lamyle/) Long...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
3
by: Larry Trutter | last post by:
Environment: Windows 2000 DB2 Version 8 fixpack 4 I am attempting to use DB2 Configuration Advisor. But when I get to the end of that wizard process (sequentially - I went through all the...
9
by: Luke Vogel | last post by:
Hi all. This is a bit of a newbie type question. I am trying to figure out what is the best way to connect to a database; ado.net, odic others? I've found a couple of examples that show you...
1
by: Jean-Marc Blaise | last post by:
Hi, I find much regrettable that Database Engine Tuning Advisor be not part of MS-Express Edition ... A server without such help is not a server. Besides, you've got the tutorials, but not the...
14
by: Mikee Freedom | last post by:
Good Morning all, New member to the list, hoping you might be able to give me some much needed advice. Basically, I have a client who would like to offer the ability for his users to have...
2
by: sabbadin12 | last post by:
Hi, I'm going to work on an application that uses a postgreSQL database so that it can uses SQLServer 2005. I think I solved most problems on the programming side, but I still have some doubts...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.