|
|
|
|
|
by lmm
1898 days ago
|
|
I guarantee you that something changed. Maybe the row count passed a certain threshold. Maybe you upgraded the database version. If you don't want the query planner to pull arbitrary execution behaviour out of its ass, why are you using an SQL database in the first place? The whole point of SQL is that you declare your queries and leave it up to the planner to decide, and for that to be at all workable the planner needs to be free to decide arbitrarily based on its own heuristics, which will sometimes be wrong. |
|