PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > The best way to use the Database Engine Tuning Advisor
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
The best way to use the Database Engine Tuning Advisor

Réponse
 
LinkBack Outils de la discussion
Vieux 27/09/2007, 17h58   #1
Tommy Hayes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.

  Réponse avec citation
Vieux 01/10/2007, 11h02   #2
Tommy Hayes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: The best way to use the Database Engine Tuning Advisor

Hi again,

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

Thanks,
Tommy.

  Réponse avec citation
Vieux 01/10/2007, 16h44   #3
abu hisham
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: The best way to use the Database Engine Tuning Advisor

On Oct 1, 10:02 am, Tommy Hayes <tommy.ha...@gmail.com> wrote:
> 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.

  Réponse avec citation
Vieux 01/10/2007, 18h40   #4
Tommy Hayes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: The best way to use the Database Engine Tuning Advisor

> 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.

  Réponse avec citation
Vieux 02/10/2007, 13h07   #5
Tommy Hayes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: The best way to use the Database Engine Tuning Advisor

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.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h58.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11057 seconds with 13 queries