August 23, 2010 at 2:12 am
Jeff Moden (8/22/2010)
I'm pretty sure that statistics TIME and IO don't include SQLCLR and I believe they sometimes miss what's happening in UDF's that a query may contain.
Correct on the UDF, least for the Stats IO, I don't know about the CLR
I'll have to double check and see if I can come up with an actual example,
Let me...
http://sqlinthewild.co.za/index.php/2009/04/29/functions-io-statistics-and-the-execution-plan/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
August 23, 2010 at 4:43 am
GilaMonster (8/23/2010)
Jeff Moden (8/22/2010)
I'm pretty sure that statistics TIME and IO don't include SQLCLR and I believe they sometimes miss what's happening in UDF's that a query may contain.Correct on the UDF, least for the Stats IO, I don't know about the CLR
I'll have to double check and see if I can come up with an actual example,
Let me...
http://sqlinthewild.co.za/index.php/2009/04/29/functions-io-statistics-and-the-execution-plan/
Sorry but I don't trust that source, not official MS :-P:hehe:.
August 23, 2010 at 5:40 am
GilaMonster (8/23/2010)
Jeff Moden (8/22/2010)
I'm pretty sure that statistics TIME and IO don't include SQLCLR and I believe they sometimes miss what's happening in UDF's that a query may contain.Correct on the UDF, least for the Stats IO, I don't know about the CLR
I'll have to double check and see if I can come up with an actual example,
Let me...
http://sqlinthewild.co.za/index.php/2009/04/29/functions-io-statistics-and-the-execution-plan/
That's what I really like about your blogs... they have code that you can test to verify. Thanks, Gail and great blog on execution-plan "lies".
--Jeff Moden
Change is inevitable... Change for the better is not.
August 23, 2010 at 7:09 am
I also agree with Gail and again test everything throughly before applying DTA recommendations. I have only use the ones with significant improvements in the past!
Viewing 4 posts - 16 through 18 (of 18 total)
You must be logged in to reply to this topic. Login to reply