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
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Query Cost

Author  Topic 

nishita_s
Yak Posting Veteran

61 Posts

Posted - 2009-04-17 : 01:03:28
What does Query Cost Mean??
i want to improve performance of my sps which are including around 100 select statements.

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-04-17 : 10:49:23
say you have a batch running 2 queries
select * from a
select * from b

the execution time maybe 1 minute (100%)

maybe the first select needed 12 seconds and the second select needed 48 seconds
query cost of first select is 2% and second select ist 98%

Webfred


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-04-17 : 10:57:22
also see
http://www.simple-talk.com/sql/performance/execution-plan-basics/
Go to Top of Page
   

- Advertisement -