J
Jason Collins
There are a number of stored procedures involved in sql server based session
maintenance:
- TempUpdateStateItemShort
- TempResetTimeout
- TempUpdateStateItemLong
etc. These stored procs are executed by the framework, e.g.,
exec TempResetTimeout @id = '1iucllii0f42ksvfg4zsajae00000001'
Performing a trace shows many SP:CacheMiss (indicating perhaps that the
stored proc is recompiling everytime).
According to Q263889
(http://support.microsoft.com/default.aspx?scid=kb;en-us;263889), the stored
proc owner (e.g., "dbo") should be specified in the call to avoid this
recompilation (or at least the cache miss).
Can anyone tell me if my assessment is correct? Will this optimization be
included in future .NET (1.1) Service Packs?
Thanks,
Jason Collins
maintenance:
- TempUpdateStateItemShort
- TempResetTimeout
- TempUpdateStateItemLong
etc. These stored procs are executed by the framework, e.g.,
exec TempResetTimeout @id = '1iucllii0f42ksvfg4zsajae00000001'
Performing a trace shows many SP:CacheMiss (indicating perhaps that the
stored proc is recompiling everytime).
According to Q263889
(http://support.microsoft.com/default.aspx?scid=kb;en-us;263889), the stored
proc owner (e.g., "dbo") should be specified in the call to avoid this
recompilation (or at least the cache miss).
Can anyone tell me if my assessment is correct? Will this optimization be
included in future .NET (1.1) Service Packs?
Thanks,
Jason Collins