Databases · Senior · Question 55 of 75

What are extended statistics (CREATE STATISTICS) for?

Explanation

By default the planner assumes columns are independent and multiplies selectivities, which underestimates rows for correlated columns.

Further reading

Problem with a question

Databases · Senior · question 55

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