Skip to content

[Backport 12.0]: Add planner-version flag to vtexplain#9003

Merged
askdba merged 1 commit intovitessio:release-12.0from
planetscale:Backport8979-12.0
Oct 18, 2021
Merged

[Backport 12.0]: Add planner-version flag to vtexplain#9003
askdba merged 1 commit intovitessio:release-12.0from
planetscale:Backport8979-12.0

Conversation

@mattlord
Copy link
Copy Markdown
Member

Description

With Vitess 12.0 we hope to begin migrating more users and workloads from the V3 planner to the new Gen4 planner 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-version flag to vtexplain that allows you to get the explain output using the Gen4 planner instead of using the default of V3.

Related Issue(s)

Backport of: #8979
Docs: vitessio/website#843

Checklist

  • Should this PR be backported? No
  • Tests were added or are not required
  • Documentation was added or is not required

@mattlord mattlord added Type: Enhancement Logical improvement (somewhere between a bug and feature) Component: Query Serving Backport This is a backport release notes labels Oct 15, 2021
@mattlord mattlord added this to the v12.0 milestone Oct 15, 2021
Add planner-version flag to vtexplain

Signed-off-by: Matt Lord <mattalord@gmail.com>
@frouioui frouioui self-requested a review October 18, 2021 05:14
@askdba askdba merged commit f419585 into vitessio:release-12.0 Oct 18, 2021
@askdba askdba deleted the Backport8979-12.0 branch October 18, 2021 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Backport This is a backport Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants