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

Answers were Sorted based on User's Feedback



I want to reduce my CPU Usage when I am querying the Database for records. Now my Winform App(in V..

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

I want to reduce my CPU Usage when I am querying the Database for records. Now my Winform App(in V..

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

Post New Answer

More VB.NET Interview Questions

What is shadowing?

5 Answers   TCS,


Name the class which allows an element to be accessed using unique key?

0 Answers  


What is difference between import system.data.sqlclient,system.data.oledb?

0 Answers  


List the two main parts of .net?

0 Answers  


What is the size of .net object?

0 Answers  


What is the advantage of using system.text.stringbuilder over system.string?

0 Answers  


Which is the tool which can convert visual basic old version to .net compatibility version?

0 Answers  


Using VB, how can you change the Mouse Pointer?

0 Answers   CGI,


when we will use console ?

3 Answers  


What are the shared variables?

0 Answers  


What is the maximum size of the textbox?

0 Answers  


What is redim keyword?

0 Answers  


Categories