Add Deferred Optimization Execution Metric#18067
Merged
harshit-gangal merged 6 commits intovitessio:mainfrom Apr 3, 2025
Merged
Add Deferred Optimization Execution Metric#18067harshit-gangal merged 6 commits intovitessio:mainfrom
harshit-gangal merged 6 commits intovitessio:mainfrom
Conversation
Contributor
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
6181bba to
9fa5bd8
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18067 +/- ##
==========================================
- Coverage 67.61% 67.54% -0.08%
==========================================
Files 1600 1601 +1
Lines 260810 261330 +520
==========================================
+ Hits 176351 176516 +165
- Misses 84459 84814 +355 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
systay
approved these changes
Apr 2, 2025
Signed-off-by: Harshit Gangal <harshit@planetscale.com>
GuptaManan100
approved these changes
Apr 3, 2025
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
This PR introduces a new metric to track the execution of Deferred Optimization in Vitess. Deferred Optimization enhances query planning by generating a more efficient plan during the first execution of a prepared statement.
The new metric helps monitor how often queries leverage this feature, providing insights into its impact.
Related Issue(s)
Checklist
Deployment Notes