Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I use the Index Tuning Wizard programatically?
Message
De
28/01/2006 09:49:57
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Titre:
How can I use the Index Tuning Wizard programatically?
Divers
Thread ID:
01091158
Message ID:
01091158
Vues:
54
Hi friends,

I have an application at a customer that I developed about one year ago. At that time I created many queries (SQL-SELECT statements) and use the Index Tuning Wizard to optimize them. Now, those same queries take too long, I now that's because the data in the tables have grown very much during these years so I had to copy each of the queries to the Query Analyzer and run on them the Wizard so those can be optimized to run much faster. Is there any way to accomplish that task programatically from Visual FoxPro or from SQL Server itself (by some job)? I would like to create an option in the application so that the user is able to optimize the queries whenever he feels those take too long after some time. In case it's not necessary to optimize the queries once in a while, I would like to know if I can optimize any query programatically, that is, without having to copy the query to the Query Analyzer and run on it the Index Tuning Wizard.

TIA


Luis
Répondre
Fil
Voir

Click here to load this message in the networking platform