Add planner-version flag to vtexplain#8979
Merged
harshit-gangal merged 3 commits intovitessio:mainfrom Oct 15, 2021
Merged
Conversation
39bd645 to
ba838d2
Compare
mattlord
added a commit
to vitessio/website
that referenced
this pull request
Oct 11, 2021
Docs companion to: vitessio/vitess#8979 Signed-off-by: Matt Lord <mattalord@gmail.com>
ba838d2 to
9e979dd
Compare
mattlord
added a commit
to vitessio/website
that referenced
this pull request
Oct 11, 2021
Docs companion to: vitessio/vitess#8979 Signed-off-by: Matt Lord <mattalord@gmail.com>
mattlord
added a commit
to vitessio/website
that referenced
this pull request
Oct 11, 2021
Docs companion to: vitessio/vitess#8979 Signed-off-by: Matt Lord <mattalord@gmail.com>
d43c613 to
692ec39
Compare
mattlord
added a commit
to vitessio/website
that referenced
this pull request
Oct 11, 2021
Docs companion to: vitessio/vitess#8979 Signed-off-by: Matt Lord <mattalord@gmail.com>
This allows users to compare the plans generated for v3 and Gen4 in order to better understand the impact of switching versions. Signed-off-by: Matt Lord <mattalord@gmail.com>
692ec39 to
473adcb
Compare
Signed-off-by: Matt Lord <mattalord@gmail.com>
f20a2d4 to
9852813
Compare
frouioui
reviewed
Oct 12, 2021
Signed-off-by: Matt Lord <mattalord@gmail.com>
frouioui
approved these changes
Oct 13, 2021
mattlord
added a commit
to vitessio/website
that referenced
this pull request
Oct 15, 2021
Docs companion to: vitessio/vitess#8979 Signed-off-by: Matt Lord <mattalord@gmail.com>
3 tasks
mattlord
pushed a commit
to planetscale/vitess
that referenced
this pull request
Oct 15, 2021
Add planner-version flag to vtexplain Signed-off-by: Matt Lord <mattalord@gmail.com>
DeathBorn
added a commit
to vinted/vitess
that referenced
this pull request
Oct 20, 2022
Signed-off-by: Vilius Okockis <vilius.okockis@vinted.com>
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)
Docs PR: vitessio/website#843
Manual Test/Example
Checklist