Databases · Senior · Question 31 of 75

A query is fast in development but slow in production with the same indexes. What should you check first?

Explanation

With 100 rows every plan is fast. Skewed data (one tenant with millions of rows) can make a plan good for most values and terrible for a few.

Further reading

Problem with a question

Databases · Senior · question 31

Test yourself

Take the Databases · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz