Trace Flag 8048 SQL Server 2012 prior to SP and Trace Flag 3449 after SP4
If you were using SQL Trace Flag 8048 and are now on SQL 2012 SP4 you don't technically need to be using this trace flag any more. You can also enable SQL Trace Flag 3449.
If you enable global Trace Flag 3449 (and you are on SQL Server 2012 SP4 or later or SQL Server 2014 SP2 or later), you will get much better performance by avoiding a FlushCache call in a number of different scenarios. Global Trace Flag 3449 takes effect immediately, with no restart required. You can set TF 3449 as a startup trace flag or in an Agent job using the following syntax: DBCC TRACEON (3449, -1)
Some of the main use case for Trace Flag 8048 in SQL Server 2012 as stated by CSS SQL Server Engineers:
- Backup Database
- Backup LOG
- Create Database
- Add file to Database
- Restore LOG (2 flushcache per restore log without recovery)
- Recover Database
- Shrink Database File
- SQL Server ‘graceful’ Shutdown
SQL Trace Flag 8048 was first implemented natively in SQL Server 2016 and SQL Server 2014 SP2 and controlled by the SQL engine and trace flag 8048 has no effect per Microsoft. Additionally, it doesn't appear to be mentioned on the surface for SQL 2012 SP4 the use of SQL Trace Flag 8048 is also no longer needed. So in both SQL Server 2012 SP4 and SQL Server 2014 SP2, SQL Server will dynamically partition memory objects based on the number of NUMA nodes and logical processor cores to scale better on modern server hardware. The goal of dynamic promotion is to automatically partition a thread safe memory object (CMEMTHREAD) if it becomes a bottleneck.
For more information, see this Microsoft Support article and Microsoft Support article.
For more information, see this Microsoft Support article and Microsoft Support article.
Over the next month I will be looking at Trace Flag 8079 on SQL 2012 SP4 to test impacts if any on our workload in our QA environment. We currently utilize Dual Hex-Core E5-2643 v4 processors that show 2 total numa nodes with 12 schedulers.
Automatic Soft NUMA partitioning using Trace Flag 8079 when enabled during startup will interrogate the hardware layout and automatically configures Soft NUMA on systems reporting 8 or more CPUs per NUMA node. The automatic soft NUMA behavior is Hyperthread (HT/logical processor) aware. The partitioning and creation of additional nodes scales background processing by increasing the number of listeners, scaling and network and encryption capabilities.
Trace Flag 8048 Sql Server 2012 Prior To Sp And Trace Flag 3449 After Sp4 >>>>> Download Now
ReplyDelete>>>>> Download Full
Trace Flag 8048 Sql Server 2012 Prior To Sp And Trace Flag 3449 After Sp4 >>>>> Download LINK
>>>>> Download Now
Trace Flag 8048 Sql Server 2012 Prior To Sp And Trace Flag 3449 After Sp4 >>>>> Download Full
>>>>> Download LINK 8R