Comment Comment by subwindow Postgres offers a variety of session-based tunings for their genetic query optimizer. See items such as geqo_effort. Note that postgres caches query plans, so the query planning cost for a well-constructed query will only be paid once(ish).http://www.postgresql.org/docs/9.2/static/runtime-config-que... parent subwindow 10 years ago
http://www.postgresql.org/docs/9.2/static/runtime-config-que...