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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many languages are supported by .net?

712


Explain the difference between int and int32?

685


What are the differences between server-side and client-side code?

717


what is common language specification?

694


What do you mean by serialization?

722


Write the role of new keyword?

820


Explain about globalization?

646


What are jagged arrarys ?

746


What is writeline in vb.net?

708


What is the use of system.diagnostics.process class?

754


What is the difference between datagrid and gridview?

689


What is different between web.config and machine.config and where it will be ?

771


Explain the services provided by common language infrastructure.

915


What keyword is used to accept a variable number of parameter in a method?

767


Explain the use of console application?

708