Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

List the types of generations in garbage collector?

887


Explain public assembly?

957


Explain about delegate?

889


What is non_deterministic finalization?

1072


What do you mean by serialization?

965


What are the technology areas that microsoft.net contains?

996


Before in my vb app I would just load the icons from dll. How can I load the icons provided by .net dynamically?

961


How many languages are supported by .net?

954


Explain about the ruby interface generator?

966


Explain the difference between web.config and machine.config and where it will be ?

917


What is globalization?

966


How would you implement inheritance using vb.net?

908


What is the differences between dataset.clone and dataset.copy?

1104


what is diffrence constructor and destructor in vb

960


What is the advantages of VB.NET?

1028