Important Trace Flags For SQL DBA

August 9, 2022 | Author: Anonymous | Category: N/A
Share Embed Donate


Short Description

Download Important Trace Flags For SQL DBA...

Description

 

Important Trace Flags for DBA A trace flag is used to set specific server characteristics or to switch off a p articular behavior of the SQL Server. You can enable the trace flag from Startup Parameters, Session and Global Sessio n level. 1 2 DBCC TraceON(Flag Number)  at session level DBCC TraceON(Flag Number, -1) -- Global Trace Flag 610 : Minimally logged DML operations into Indexed tables, transactio n log and allow bulk loading Trace Trace Trace Trace ects Trace Trace Trace Trace Trace Trace Trace Trace

Flag Flag flag flag

4199 optimizer fixes 1222 : : enable writes query the deadlock information in XML format into error log 835 : Enable the Lock Pages in memory for standard edition 1118 : Directs SQL Server to allocate full extents to each tempDB obj

flag flag flag flag flag flag flag flag

1204 1211 3226 3014 3502 3505 3004 1806

: : : : : : : :

Write information about the deadlock in text format Disable the lock escalation based on the memory pressure Prevents successful backup operation being logged Returns more information to error log about backup operation Write information about the checkpoint in the error log Disables automatic checkpoint Returns more information about the instant file initialization Disables the instant file initialization

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF