sql server trace flag 2301

Hi Friends,

This is my 23rd blog on SQL Server Trace Flag 2301 in the series of One Trace Flag a Day. You can go to all blogs under that series by clicking here.

This is one of the trace flags that can be used to improve the performance but use of these trace flags always depend on the type of server workload. Use of these trace flags can improve the performance if your workload is related to decision support queries. This trace flag may decrease the performance if your workload is mostly related to dynamic queries.

This trace flag will enable the advanced optimization methods for optimizer to improve the performance. As we stated earlier, this trace flag can be good or bad, depends on your workload. So before using this, perform the complete testing and query optimization as much as you can.

In other words we can say that this trace flag will force the optimizer to spend more time on queries. In the result of this, queries will use the most optimal plan selected by optimizer rather than using sub optimal plan.

   

Reference: Click here.

PS: Do not use trace flags in production environment without testing it on non production environments and without consulting because everything comes at a cost.

HAPPY LEARNING!

Regards:
Prince Kumar Rastogi

Like us on FaceBook | Join the fastest growing SQL Server group on FaceBook

Follow Prince Rastogi on Twitter | Follow Prince Rastogi on FaceBook

   

About Prince Rastogi

Prince Rastogi is working as Database Administrator at Elephant Insurance, Richmond. He is having more than 8 years of experience and worked in ERP Domain, Wealth Management Domain. Currently he is working in Insurance domain. In the starting of his career he was working on SQL Server, Internet Information Server and Visual Source Safe. He is post graduate in Computer Science. Prince is ITIL certified professional. Prince likes to explore technical things for Database World and Writing Blogs. He is Technical Editor and Blogger at SQLServerGeeks.com. He is a regular speaker at DataPlatformDay events in Delhi NCR. He has also presented some in depth sessions about SQL Server in SQL Server Conferences in Bangalore.

View all posts by Prince Rastogi →

Leave a Reply

Your email address will not be published.