Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Relationship of Operator cost and execution time

$
0
0
Hi,I have 1 query, which as belowselect [USERNAME] ,[JOBNAME] ,[STEPNBR] from [dbo].[JobStep]. All these three columns are used to form cluster index.The operator cost of execution of query 1 is around 227.551 and it took about 11 seconds to returned all rows.Now, I create noncluster columnstore index on these 3 columns. The operator cost of execution of query 1 is around 1.20209 and it took about 13 seconds to returned all rows. This seems to me as little contradictory, cost being high and execution time lesser. Does the cost have a relationship with the time ?

Viewing all articles
Browse latest Browse all 3145

Latest Images

Trending Articles



Latest Images