Re:PostgreSQL 10 Released
by kuschku on Thursday October 12, 2017 @11:23AM
(#15458636)
What about pre-compiling plans? With server-side prepared statements it would make sense to use entirely different planning time tradeoffs.
[ Parent
| on HN ]
It's not that simple. Server side prepared statements are used to great effect in OLTPish scenarios too.
A serviceable approach would be to perform additional optimizations based on the query's cost - but that's hard to do without incurring a complete replan, because of the bottom up dynamic programming approach of a good chunk of the planning.