On 7/28/06, Mike yearwood <[EMAIL PROTECTED]> wrote:
Hi Stephen

> > Dynamic SQL execution plans are cached!
> >
> > http://weblogs.asp.net/fbouma/archive/2003/11/18/38178.aspx
>
> Yes and no.  That cached value is a function of the true workload of the
> sever over then next x min.  So yes it is and it will sort of remain in
> the cache, but as other work is getting requested it may have a very
> short shelf life.  It also depends on what volume of ram and your
> settings for your procedure cache are.
>
> That being said, workers who repeat the same functionality may have
> their requests cached.  But at what expense?  We all know that you
> can't get something for nothing.  Oh that second round trip to the
> server for each query will add up when your using client sided
> statements.  This is a bigger issue that the comments bring up.  Below
> goes into more details on this.
>
> http://www.sql-server-performance.com/stored_procedures.asp
>

What makes you think the SP execution plans are kept any longer than
other execution plans?

If you're using nothing but SPs then who cares :-)

--
Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to