简体   繁体   中英

Execution real plan SQL Server

I'm working on execution plan on SQL Server (I'm a junior). I execute a query with a real execution plan and as you can see in the screenshot, the percentage on my join is above 100 % (here 139%).

So I'm wondering if it's normal because it's the first time as I see that.

Thanks for your reply!

Actual execution plan:

执行计划

That percentage represents the actual number of rows vs what the optimizer estimated.

In this case the optimizer was expecting 11433900 rows but ended up touching 15916500 rows. 15916500/11433900 = 1.39, or, 139%.

Note this section of the execution plan from a query I just ran;

在此处输入图像描述

Expected 39 but got 40 instead (40/39 = 1.02 or 102%)

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