November 23, 2004 01:23 PM

Beware: Using sp_configure to change a Value Involves DBCC FREEPROCCACHE

Rating: (0)
SQL Server Magazine
InstantDoc ID #44308
I recently learned that when you call sp_configure to set a value for any option, SQL Server issues a DBCC FREEPROCCACHE command. This command invalidates all stored procedure plans currently cached and requires recompilation of new plans the next time the stored procedure runs. Sp_configure issues this DBCC command because changing some options that sp_configure supports can invalidate stored procedure plans. For example, if you change the max degree of parallelism option, SQL Server t...

...This article is for paid Professional Members only.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Professional Membership

Monthly

Annual

VIP Membership

Monthly

Annual

Add a Comment

Seems a little lazy on MS' part, but useful thing to know. Wonder if it's changed in SQL2K5?

mmcginty_SQL 2/4/2005 9:41:04 PM


You must log on before posting a comment.

Are you a new visitor? Register Here
GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS