SQL Server Central

SQLServerCentral Article

SSC Clinic: Can Implementing "Optimize for Ad Hoc Queries" Boost Performance for the SQLServerCentral.com and Simple-Talk.Com SQL Servers?

  • Article

With the introduction of the instance-level option “optimize for ad hoc workloads” in SQL Server 2008, DBAs have a tool to deal with a problem known as plan cache pollution, or plan cache bloat. It’s often caused when one-time use ad hoc queries are sent to SQL Server from Object-Relational Mapping (ORM) solutions, such as LINQ, NHibernate, or Entity Framework. The problem can prevent SQL Server from using its available memory optimally, potentially hurting performance.

(10)

You rated this post out of 5. Change rating

2012-06-14

2,484 reads

Blogs

Overcoming Imposter Syndrome: A Plan

By

My most recent bout with imposter syndrome was with ISACA’s Digital Trust Ecosystem Framework...

Advice I Like: Celebrate Success

By

“On the way to a grand goal, celebrate the smallest victories as if each...

Programmatically Retrieving MLV Lineage and Refresh Times

By

Materialized lake views (MLVs) in Microsoft Fabric are an effective way to implement medallion...

Read the latest Blogs

Forums

BCA KCP Pajajaran Hub:Cs.083831618816

By myresultinfo

WhatsApp:083831618816 Jl. Raya Pajajaran No.5 & 6, RT.008/RW.09, Bantarjati, Kec. Bogor Utara, Kota Bogor,...

BCA KCP Mangga Dua ITC Tlp (+62 821°3111°179

By azaroth_lettar

No. 20-25, 29-32, Gedung ITC Mangga Dua, Jl. Mangga Dua Raya Lt. IV Blok...

BCA KCP Pasirkaliki Atas No.Tlp.083179431643

By wiseenglishedu

Jl. HOS. Cokroaminoto No.148, Pasir Kaliki, Kec. Cicendo, Kota Bandung, Jawa Barat 40173

Visit the forum

Question of the Day

Increase Deadlock Detection

How can I alter the deadlock detection interval to 2 seconds instead of 5 seconds on my SQL Server 2025 instance?

See possible answers