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 the difference between c# and vb.net?
What is the source code for display the picture in button click event?
What is an indexed property?
Can you please explain the difference between dataset and datareader?
What are different types of jit ?
Write a VB.Net console program to check whether a number is perfect or not.
Advantage of vb.net over vb ?
How do you use two datareaders at the same time in a vb.net windows application ?
what is vb,net
List the two main parts of .net?
when we will use console ?
how to restore database using vb.net?
4 Answers Eclat, PCS, Pepon, Restor, TCS,
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)