You are here: Re: Massive amoutns of Reading « MsSQL Server « IT news, forums, messages
Re: Massive amoutns of Reading

Posted by Erland Sommarskog on 07/24/05 12:04

Greg D. Moore (Strider) (mooregr_deleteth1s@greenms.com) writes:
> Remind me of the syntax on this?
>
> In any way, the temporary fix was fairly simple.
>
> In the query itself or the join (which actually is better in our case)
> giving a JOIN hint (doesn't really matter which one I use) immediately
> improves the performance of the query.
>
> So for now we've added the hint to the VIEW.

Glad to hear that you got it working.

If the solution was to change:

a INNER JOIN b

to

a INNER LOOP JOIN b

there is a side effect: the tables will now be accessed in the order
they appear in the query. This may be good for now, but further along
the road, this may not be the best query plan.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

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

 

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

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