Click here to Skip to main content
14,827,034 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a problem with perfomance when reading data in sql.
Most probably because there are alot of records in the database.
Is there any way of improving the speed/performance when reading the data???
Posted

Reading or writing in MS.SQLServer fully depends on database's structure. there is not much you can do about the performance otherwise.

so, my suggestion, read a bit about database structure optimizing and redecorate your database! (if it is possible. sometimes, database is excellent and optimized, so, you just cant do anything about it)

------------------------
Regards

H.Maadani
   
There are many potential sources of performance issues when reading the data, from badly written code through to unoptimised queries. If I were you, I'd use the SQL Profiler to watch the query in action and I'd look to see what the execution plan is for the query. Let the database engine tell you what it's having to do - you could be performing a sequential scan instead of an indexed read for instance.
   

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