10
votes
Accepted
Why is the tipping point between a serial and parallel plan not exactly the point where the serial plan is costed less?
The tipping point is as you expect. The showplan information doesn't accurately reflect optimizer costing.
The first two queries (parallel natural and serial hinted) both have a cost of 62.6855 at ...
3
votes
Accepted
Why I don't see the OptimizerStatsUsage in the execution plan
the stackoverflow2010 database might be set to lower version of compatibility level. During my test it is set to 100 which is 2008. You either need to change the database compatibility level to ...
2
votes
Why execution plan could be skipped from XE session?
It looks like you are using a ring buffer and "Watch Live Data".
Sometimes, plans can be larger than 4MB (the default setting for XE), and they can be dropped from the result set.
You should ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
execution-plan × 1220sql-server × 732
performance × 314
query-performance × 297
postgresql × 244
optimization × 167
index × 124
sql-server-2016 × 85
sql-server-2014 × 76
sql-server-2012 × 74
postgresql-performance × 71
t-sql × 53
mysql × 49
oracle × 46
sql-server-2008-r2 × 46
statistics × 45
plan-cache × 40
cardinality-estimates × 38
sql-server-2019 × 37
index-tuning × 36
explain × 35
sql-server-2008 × 33
join × 32
stored-procedures × 29
azure-sql-database × 28