Databases · Senior · Question 32 of 75

What problem can prepared statements with generic plans cause?

Explanation

plan_cache_mode = force_custom_plan forces per-value planning when needed. Most of the time generic plans save planning time.

Further reading

Problem with a question

Databases · Senior · question 32

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