Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Sql Server usage is 100% when running MVC 4 application by DB Context with EF 6 ?

it slows down server performance heavily. and data submission is very fast something about 2000 per 2-5 minute.....?


Please tell me solution, its urgent ??????????????????
Posted
Comments
Kornfeld Eliyahu Peter 2-Jun-14 7:00am    
Did you asked your DBA about the SQL installation?

1 solution

XML
SQL server overrides the CPU and memory distribution of the OS
therefore if you check the task manager it will look like it takes all the CPU and memory.
In case the the DB server is the same as the Application server, maybe you can try to reduce the cpu usage by SQL server using the resource governor, you can find more information about the governor here (<a href="http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/Resource%20Governor%20in%20SQL%20Server%202012.docx">http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/Resource%20Governor%20in%20SQL%20Server%202012.docx</a>[<a href="http://download.microsoft.com/download/D/2/0/D20E1C5F-72EA-4505-9F26-FEF9550EFD44/Resource%20Governor%20in%20SQL%20Server%202012.docx" target="_blank" title="New Window">^</a>])

However if the CPU is 100% due to cpu bottleneck reducing the cpu usage will slow down sql server.

Good luck :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900