I want to reduce my CPU Usage when I am querying the
Database for records. Now my Winform App(in VB.Net)
suddenly Jumps to 100% CPU Usage when i query for records
from sql server database. I want this Usage to be less. Any
help is appreciated
Answers were Sorted based on User's Feedback
Answer / suresh
check if any indexes is created for that table if not
create it. Open connection and close immediately when no
longer in use.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ram
you need to check the following things:
1. Database size is very high and you are using query which
is not optimized.
2. you must be using too many joins in the query. Check the
execution plan
3. Confirm whether the CPU utilization is more from database
end or application end
http://www.interview-questions.maxmice.com
Is This Answer Correct ? | 2 Yes | 0 No |
What is writeline in vb.net?
What are the differences between server-side and client-side code?
What is sealed class?
How can we store decimal data in .net?
How can we remove handlers at run time?
Can you please explain the difference between vb and vb.net?
1234 123 12 1 how to design above pic in vb.net?
How does vb.net achieve polymorphism?
Why Datareader is useful?
Explain about branching logic control in vb.net?
What is the diff between vb mdi form and .net mdi form?
Which is the base class for all the classes in .net framework?