All jobs / Database administrator / Performance

Database administrator interview question · 1–3 years

A data migration loaded three years of history into a table that had held one month.

A query that ran in milliseconds now takes minutes, right after a large data load. First suspect?

The strongest answer

Stale statistics — the optimiser still thinks the table is small and chose a plan that no longer fits; refresh statistics and compare the plans

Why it works

Exactly — a big load is the classic trigger for estimates that no longer match reality.

What a good answer covers

Answers that fall short

Who gets asked this

More Performance questions