Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exposes
debug.maxEvaluatedPlans
planning config (#2593)
* Exposes `debug.maxEvaluatedPlans` planning config So far, the maximum number of query plan evaluated (above which the query planning eliminate choices to evaluated, thus potentially reducing the generated plan quality) has only be hard-coded. This exposes a config option to set that cap, mostly to help debugging query planning runtime issues. * Make the type recursive
- Loading branch information
Sylvain Lebresne
committed
May 24, 2023
1 parent
e136ad8
commit 8ca107a
Showing
5 changed files
with
219 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@apollo/query-planner": minor | ||
--- | ||
|
||
Adds `debug.maxEvaluatedPlans` query planning configuration options. This option limits the maximum number of query plan | ||
that may have to be evaluated during a query planning phase, thus capping the maximum query planning runtime, but at the | ||
price of potentially reducing the optimality of the generated query plan (which may mean slower query executions). This | ||
option is exposed for debugging purposes, but it is recommended to rely on the default in production. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters