EF6, Slow Azure Sql Writes, TransactionHandler

故事扮演 提交于 2019-12-11 07:39:45

问题


I am posting this in case anyone else runs into the same problem. We implemented the EF6 TransactionHandler which is suppose to help transient errors on Sql Azure.

https://msdn.microsoft.com/en-us/library/dn630221(v=vs.113).aspx

We didn't realize the table does not get cleaned. Eventually the __transactionHistory table had thousands of records. Every time we wrote to SQL, because of this mechanism, it caused horrible 5-10 second delays.

The fix, we removed it. The implementation from MS should have auto cleaned that table. Ours did not.

Ef6 Azure Sql slow writes


回答1:


This wasn't really a question, I just wanted to post something about it in case others search for EF6 Azure Sql Performance.



来源:https://stackoverflow.com/questions/46185900/ef6-slow-azure-sql-writes-transactionhandler

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!