RE: Year end closing taking long time in ax 2009
We had the same issue and fixed it.
Make sure you dont have the "optimize for unknown" flag set on the SQL Server (4136).
This will surely park you AX and make everything run slow.
Often it has been implemented to fix parameter sniffing, but it is way better to identify the few places you find these issues and fix it by changing that code, index turning or simply add a plan guide (we have about 15 plan guides on our database and are not seeing these issues anymore).
If you don't have the 4136 flag set (check by running DBCC TraceStatus() on the database )
Our result on a well functioning, fully upgraded AX2009 with SQL Server 2012 SP4
1117
1118
1224
2371
4199
7646
All enabled globally
Then you may have to look at the numbers of threads it can start up.
But first. Let me know what flags you have enabled.