You are here: Re: Reading SHOW_PLAN output « MsSQL Server « IT news, forums, messages
Re: Reading SHOW_PLAN output

Posted by SB on 05/14/07 09:24

> My understanding of this is that the count(*) is only executed ONCE,
> and that the nested loop then combines the result (EXPR1006) with all
> keys obtained by scanning the primary key index. Or in other words
> that the single-"row" result of the count(*) is chosen as the "table"
> that drives the loop.

Maybe I am wrong but I think it is other way around. It puts the sql
statement in a nested loop and count(*) is executed many times.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация