SNIReadSyncOverAsync Performance issue

.NetSql Serverado.netDottrace

.Net Problem Overview


Recently I used dot Trace profiler to find the bottlenecks in my application.

Suddenly, I have seen that in most of the places which are taking more time and more CPU usage to is SNINativeMethodWrapper.SNIReadSyncOverAsync() which is called by Execute reader method of ADO.Net, I don't know why it's taking more time.

If I run the same query in SQL server it's running very fast.

  1. Does anybody know why it's taking more time?
  2. What is the alternative for this ADO.Net method?

.Net Solutions


Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionGobiView Question on Stackoverflow