January 17, 2014 at 11:21 am
hi, I have enabled 'ad hoc distributed queries' in my production sql server 2008 R2. For this change to take effect do i have to restart sql services?
January 17, 2014 at 11:52 am
No. It takes effect immediately.
Regards,
IgorMi
Igor Micev,My blog: www.igormicev.com
January 17, 2014 at 2:09 pm
what about to flushed the oolder values from DMVs? We got metrics from sys.dm_exec_cached_plans prior to enabling. We want to check in a couple of weeks again if actually this feature has help.
January 17, 2014 at 2:14 pm
The 'ad hoc distributed queries' option has nothing to do with the plan cache. Setting it on enables the OPENROWSET and OPENDATASOURCE commands
Were you thinking of 'optimise for ad-hoc queries' option?
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
January 17, 2014 at 2:18 pm
yes! i am sorry, i was referring to Optimize for ad-hoc workloads option.
January 17, 2014 at 2:27 pm
It also takes effect immediately, no restart necessary.
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
January 17, 2014 at 2:29 pm
thank you guys!
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply