|
|
|
|
|
by fuy
862 days ago
|
|
Or it could work in a way that the Planner has access to data about previous runs of each query, and it can use this data to change plans that were proven bad during execution. This way, the first execution would be slow, but Planner could self-learn and better next time.
SQL Server has a bunch of similar features in its query optimizer https://learn.microsoft.com/en-us/sql/relational-databases/p.... I'm not sure Postgres has infrastructure to do that, though, because it doesn't have shared plan cache, for example. |
|