Groups | Blog | Home
all groups > sql server programming > april 2004 >

sql server programming : Index Tuning Wizard problem


Sky Fly
4/20/2004 11:34:09 PM
Hello,

I'm trying to use the Index Tuning Wizard to improve
the performance of my stored procedure, but I'm having a
problem. When setting up the ITW, I uncheck the option to
keep all indexes to get the best possible recommendations.
However, when I do this and run the wizard, I get the following
error:

"An error occurred trying to execute a SQL statement."

When I check the option, then the ITW runs all right but
it doesn't offer an recommendation.

Can anyone help me figure out why I would be getting this
error?

--
Akin

aknak at aksoto dot idps dot co dot uk

Vinodk
4/21/2004 10:19:32 AM
You need to have a good workload in hand to get proper recommendation from
ITW. It is quite possible when you submit a simple workload that ITW may not
give you any recommendation. How big is the workload input provided.

--
HTH,
Vinod Kumar
MCSE, DBA, MCAD, MCSD
http://www.extremeexperts.com

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp


[quoted text, click to view]

Sky Fly
4/21/2004 10:33:18 AM
Hello Vinod,

The workload is about 20 MB - but I don't think the problem is
the size of the workload, because that wouldn't explain the
ERROR that I am getting. In short, the ITW does not even complete
its task of analysis before the error is thrown.

Akin

[quoted text, click to view]

Jasper Smith
4/21/2004 5:33:46 PM
Have you tried running a profiler trace on the ITW ? This may show you where
and what statement is causing the issue.

--
HTH

Jasper Smith (SQL Server MVP)

I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org


[quoted text, click to view]

Sky Fly
4/25/2004 11:27:12 AM
Hello Jasper,

Thanks to your suggestion, I was able to identify the problem -
it seems the ITW has a problem working with tables that have
fields that have a single quote in them. Bug for MS to fix,
I guess.

[quoted text, click to view]

AddThis Social Bookmark Button