Trace Flag 1117 (Auto Grow All Files in a Filegroup): This trace flag ensures that all files in a filegroup grow together when one file needs to auto-grow. This helps prevent one file from growing significantly larger than others, which can lead to performance issues.
Trace Flag 1222 (Deadlock Information): When enabled, this provides detailed deadlock information in the SQL Server error log, which can be invaluable for diagnosing and resolving deadlock issues.
Trace Flag 2371 (Improved Cardinality Estimation): This trace flag, introduced in SQL Server 2014 and later, enables improvements in cardinality estimation for certain query patterns. It can be useful for addressing performance issues related to cardinality estimation.
Trace Flag 1118 (Full Extents Only): This trace flag can be used to force uniform extent allocations in tempdb, potentially reducing contention on allocation pages.
Trace Flag 4199 (Query Optimizer Fixes): Enabling this trace flag activates various query optimizer fixes that have been introduced in cumulative updates and service packs. It can help address certain query performance issues and improve optimizer behavior.
Trace Flag 1224 (Parallelism): This trace flag limits the degree of parallelism used by queries. It can be useful in scenarios where excessive parallelism may negatively impact performance.
Trace Flag 834 (Lock Pages in Memory): Enabling this trace flag allows SQL Server to lock its memory into physical RAM, preventing the operating system from paging SQL Server memory to disk. This can help maintain consistent performance.
Trace Flag 3605 (Output to SQL Server Error Log): When used with DBCC commands, this trace flag directs the output to the SQL Server error log, which can be helpful for capturing diagnostic information.
Trace Flag 3023 (Backup Compression): This trace flag allows you to use backup compression with the BACKUP command, which can reduce backup file sizes and improve backup and restore performance.
Trace Flag 610 (Lock Timeout): This trace flag changes the lock timeout period for specific operations, which can be useful when dealing with lock contention issues.