1. Indirect Checkpoint
Prior to SQL Server 2012, SQL Server Database Engine Support 3 type of checkpoints: Automatic, manual and internal. Now there is a new checkpoint type added : Indirect Checkpoint.
Not like automatic checkpoint(sp_configure 'recovery interval'), Indirect Checkpoing is set on the database level:
ALTER DATABASE [DatabaseName] SET TARGET_RECOVERY_TIME = 15 SECONDS;
By default, the target recovery time is 0, and Indirect Checkpoing is disabled. Here are some excellent posts which is made by MSFT PFE.
The design goal of Indirect Checkpoint is to accurately control the recovery time. In some case, Automatic Checkpoint might be able to cause spiky disk io and performance issue.
By setting a smaller value of Target Recovery Time, the Indirect Checkpoint generates much smoother constant checkpoint instead of spiky checkpoint. However the data page is flushed out to disk more frequently, the thoughput will degrade and disk IO workload will be increased. So making a full testing before you apply it on product will be a good idea.
Another change for checkpoint is the FlushCache message in the error log file
Prior to SQL Server 2012, you need to enable it with trace flag 3504. Now SQL Server 2012 add a new check condition logical
If the trace flag is enabled or the checkpoint 'TRUE == IsLong' the message is added to the SQL Server error log.
I got this info from
I am thinking if Indirect Checkpoint is worth to try in this situation :), so we can smooth out the spiky checkpoint with constant smaller checkpoint
2. Memory Management
This's a big change in SQL Server 2012.
- Multi-Page allocations and CLR allocations are also included in memory limits that are controlled by max server memory (MB) and min server memory (MB).
- Memory_to_reserve value does not include the multi-page allocations
(does it mean multi-page allocations has been moved into buffer pool in SQL 2012? )
- The "awe enabled" SQL Server feature is deprecated
If you still use sql server 32bit version, you can not use more than 4GB(32-bit SQL Server on 64-bit OS) memory any more
- Standard/Business Intelligence Edition support "locked pages" now.