Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Is it true instead of where condition, inner join and having making faster execution of query ?

How to increase sql performance while dealing with large size database

Regards,
Aravind

What I have tried:

It just learning purpose.
How to increase sql performance while dealing with large size database
Posted
Updated 25-Mar-18 23:28pm
v2

1 solution

Depends on who you ask, and on the actual query - it's very easy to make an inefficient query with either!

So look at your queries, and specifically at their associated execution plans: Displaying Graphical Execution Plans (SQL Server Management Studio)[^]
 
Share this answer
 
Comments
Aravindba 3-Apr-18 5:49am    
Hi its ok , i have another doubt in ASP.Net, if using GC.collection and session variable also make website will slow ? i am just asking form learning purpose. GC.collection and session variable using every single secs for each user. if 2 users login same time then GC.collection and session variable will use double time ,so it will down then website ?
Bcz for user active we run update query every secs to update values in sql server from website , and from windows service we check that values reach maximum , if reach then we remove from table.
So if user try to login, first it will check that table value got or not,if not then we allow to login otherwise we show "User already login,pls logout first"

regards,
Aravind
OriginalGriff 3-Apr-18 6:03am    
Why the heck are you manually using the GC? You should almost never need to touch it, that's the whole idea.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900