Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql tuning

Author  Topic 

whiteblue
Starting Member

4 Posts

Posted - 2012-03-13 : 10:17:19
what is the peformance tuning?
top 10 tips to get exact results for a sql query ?

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2012-03-13 : 10:26:29
Performance tuning is the process of making queries (or entire applications) run faster.

Top 10 tips for what?

--
Gail Shaw
SQL Server MVP
Go to Top of Page

whiteblue
Starting Member

4 Posts

Posted - 2012-03-13 : 10:44:51
to get exact result of any query with fast........

i mean to ask what are rules example we should not write * in select statement ......we can choose cloums .....
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2012-03-13 : 10:52:35
Huh? Don't understand.

--
Gail Shaw
SQL Server MVP
Go to Top of Page

whiteblue
Starting Member

4 Posts

Posted - 2012-03-13 : 10:59:08
sir

my question is

what will u consider to get fast and exact result for a sql query?

example should we use joins / procedure/ views are anyyyyy u know more copmare to me?

can u send u r mail id......
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2012-03-13 : 11:52:51
General rules for efficient SQL:

Return just what data is needed
Write queries so that SQL can use indexes
Create indexes to support the queries
Write code that is as simple as possible.

Run performance tests against production data volumes, tune the queries if they don't meet the requirements.

For details, maybe get Grant Fritchey's book: SQL 2008 Query Performance Tuning Distilled.



--
Gail Shaw
SQL Server MVP
Go to Top of Page
   

- Advertisement -