简体   繁体   中英

SQL Server : Estimated Execution Plan

I am using SQL Server Execution plan for analysing the performance of a stored procedure. I have two results with and without the index. In both these results the estimated cost shows the same value (.0032831) but the cost % differs from one another as first, without index is 7% and with Index is 14%.

What does it really means?

Please help me with this.,

Thanks in advance.

It means that the plan without the index is costed as being doubly expensive.

For the first one the total plan cost is .0032831/0.07 = 0.0469 , for the second one the total plan cost is .0032831/0.14 which is clearly going to be half that number.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM