|
|
|
|
|
by keslerm
3823 days ago
|
|
You can push it in favor of certain options by disabling the one you don't want, such as sequential scan. SET enable_seqscan = OFF; We use these options a lot on tables that result in odd query plans to get them doing the best option.. |
|
What scares me is that this is unreliable, and according to the documentation, the optimizer is free to choose to ignore everything that I say whenever it wants. The fact that it already HAS done that to me does not provide me comfort.