24 ms·
It's a bit of both. What pg_hint_plan does is change the cost to favour the hinted suggestion. If hinted suggestion is impossible, the planner will still perfor
by FritsHoogland 3y ago
It's a bit of both.
What pg_hint_plan does is change the cost to favour the hinted suggestion.
If hinted suggestion is impossible, the planner will still perform something else.
- FritsHoogland 3y agoBut if 'force' means changing what it would do otherwise, where 'otherwise' is: a different plan having the lowest cost, the: yes that is exactly what it does.