Bet you have a user defined function in there somewhere. The IO due to
those are not included in set io output but are represented correctly in
profiler.

Signature
Kevin G. Boles
Indicium Resources, Inc.
SQL Server MVP
kgboles a earthlink dt net
Hi Kevin
I sent you mail but figured also how to fix my use of this forum - it did
not open window.
You was right, it uses functions. Intensive use of views makes tunning of
this app much harder. Now I have to start using dta. It's a good tool, but
many times it did not produce any recommendations when I was able manualy
improve code by creating indexes. I do not beleive much in it's 100%
efficency.
However, it seems the only way to deal with a complicated, multilevel sql
(views on views, function use other functions).
Let's see if i will get far with using it only.
Thank you all who participated in this discussion, Gene.
> Bet you have a user defined function in there somewhere. The IO due to
> those are not included in set io output but are represented correctly in
[quoted text clipped - 52 lines]
> >> >
> >> > Gene.
TheSQLGuru - 29 Jun 2008 21:21 GMT
One word of caution - be VERY careful with the use of DTA, especially with
regards to it's pervasive use of INCLUDED columns. I have routinely seen it
create obscene numbers of indexes and in include obscene numbers of columns.

Signature
Kevin G. Boles
Indicium Resources, Inc.
SQL Server MVP
kgboles a earthlink dt net
> Hi Kevin
>
[quoted text clipped - 73 lines]
>> >> >
>> >> > Gene.