Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

SQL services use 100% Harddisk when queries

$
0
0
I developed  my own app to query the data from MSSQL

I use MSSQL 2008 R2

when I run the query in MSSMS, it's work fine and has very fast response

but when I run with C# application (integrated query inside).

it take about 5000ms for 1 query and when I exterminate the task manager, I found that the services of my database engine using disk load about 5-7 MB/s (but the % is 100%)  

after some experiment. I found out that if I want to make the query faster in my C# app, I have to open the MSSMS "together" (and make any select top 1000) with my query in C# app

anyone know what is MSSMS do to increase the performance of any running services?


**Note that it happens only some PC not all of them. 

Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>