Skip to content

A plan that used to be good

A query ran in 20 ms for months. After a bulk load of 8 million rows, the same query takes 40 seconds. The plan now shows a nested loop join where it previously showed a hash join. Nothing in the query or the schema changed.

What is the most likely cause?