SQL Server Trace Flag 3608

Hi Friends,

This is my 46th blog on SQL Server Trace Flag 3608 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 flag which generally used during troubleshooting issues. This trace flag is used to prevent automatically starting and recovering any database except master database. Let me show you practically. First add this TF as startup parameter and restart the sql service.

tarceflag_3608_1

Now if you will go to the SQL Instance and open the SQL Server error log then you will find out the entry as shown in below figure.

traceflag_3608_2

Keep in mind that, if activities require tempdb are initiated, then model is recovered and tempdb is created. Other databases will be started and recovered when accessed. Some features, such as snapshot isolation and read committed snapshot, might not work.

Finally, do not forget to remove trace flag 3608 from startup parameters and restart the sql service.

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

Avatar

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. Required fields are marked *