While doing the purchase order posting in AX 2012 R3 CU13 - i can able to see the update query in the database blocking . During that time , AX performance was very slow until i kill the block. Once it is killed , AX performance become normal.
Please find th eupdate query:
UPDATE T1 SET DEPENDENTSUBLEDGERJOURNALACCOUNTENTRY=T2.RECID,DEPENDENTACCOUNTINGDATE=T3.ACCOUNTINGDATE,RECVERSION=@P1 FROM tempdb."DBO".t108350_9D779272B90D499ABE733AB6A1417FA3 T1 CROSS JOIN SUBLEDGERJOURNALACCOUNTENTRY T2 CROSS JOIN tempdb."DBO".t7461_531F90C085584C3D89C84C743F44DE47 T3 WHERE (T1.PARTITION=5637144576) AND ((T2.PARTITION=5637144576) AND ((((((((((((T2.EXCHANGERATE1=T1.EXCHANGERATE1) AND (T2.EXCHANGERATE2=T1.EXCHANGERATE2)) AND (T2.EXCHANGERATEDATE=T1.EXCHANGERATEDATE)) AND (T2.HISTORICALEXCHANGERATEDATE=T1.HISTORICALEXCHANGERATEDATE)) AND (T2.ISCORRECTION=T1.ISCORRECTION)) AND (T2.LEDGERDIMENSION=T1.LEDGERDIMENSION)) AND (T2.ORIGINALTRANSFERPOLICY=T1.ORIGINALTRANSFERPOLICY)) AND (T2.POSTINGTYPE=T1.POSTINGTYPE)) AND (T2.REPORTINGEXCHANGERATE1=T1.REPORTINGEXCHANGERATE1)) AND (T2.REPORTINGEXCHANGERATE2=T1.REPORTINGEXCHANGERATE2)) AND (T2.SIDE=T1.SIDE)) AND (T2.TRANSACTIONCURRENCY=T1.TRANSACTIONCURRENCY))) AND ((T3.PARTITION=5637144576) AND (T3.SUBLEDGERJOURNALENTRY=T2.SUBLEDGERJOURNALENTRY))
*This post is locked for comments