[Backport 12.0]: Add planner-version flag to vtexplain#9003
Merged
askdba merged 1 commit intovitessio:release-12.0from Oct 18, 2021
Merged
[Backport 12.0]: Add planner-version flag to vtexplain#9003askdba merged 1 commit intovitessio:release-12.0from
askdba merged 1 commit intovitessio:release-12.0from
Conversation
Add planner-version flag to vtexplain Signed-off-by: Matt Lord <mattalord@gmail.com>
b1cf47b to
75a3b80
Compare
frouioui
approved these changes
Oct 18, 2021
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
With Vitess 12.0 we hope to begin migrating more users and workloads from the
V3planner to the newGen4planner as it should offer better performance, improved correctness, and additional query language support.But in order to aid in that effort, users will need a way to try and compare the planner results between the two for their common queries in order to gauge the impact of this migration.
Toward that end, this adds a new
-planner-versionflag tovtexplainthat allows you to get the explain output using theGen4planner instead of using the default ofV3.Related Issue(s)
Backport of: #8979
Docs: vitessio/website#843
Checklist