planner: use BatchPointGet to improve the SELECT ...WHERE IN performance#11750
Merged
eurekaka merged 12 commits intopingcap:masterfrom Aug 20, 2019
lonng:convert-to-union
Merged
planner: use BatchPointGet to improve the SELECT ...WHERE IN performance#11750eurekaka merged 12 commits intopingcap:masterfrom lonng:convert-to-union
BatchPointGet to improve the SELECT ...WHERE IN performance#11750eurekaka merged 12 commits intopingcap:masterfrom
lonng:convert-to-union
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11750 +/- ##
===============================================
- Coverage 81.4204% 81.389% -0.0314%
===============================================
Files 433 433
Lines 93194 93284 +90
===============================================
+ Hits 75879 75923 +44
- Misses 11882 11923 +41
- Partials 5433 5438 +5 |
Codecov Report
@@ Coverage Diff @@
## master #11750 +/- ##
==============================================
- Coverage 81.6561% 81.45% -0.2062%
==============================================
Files 435 435
Lines 94206 93709 -497
==============================================
- Hits 76925 76326 -599
- Misses 11820 11906 +86
- Partials 5461 5477 +16 |
eurekaka
reviewed
Aug 16, 2019
Signed-off-by: Lonng <heng@lonng.org>
Signed-off-by: Lonng <heng@lonng.org>
Signed-off-by: Lonng <heng@lonng.org>
Contributor
Author
BatchPointGet to improve the SELECT ...WHERE IN performance
winoros
reviewed
Aug 19, 2019
jackysp
reviewed
Aug 19, 2019
Signed-off-by: Lonng <heng@lonng.org>
Signed-off-by: Lonng <heng@lonng.org>
Contributor
|
/run-all-tests |
Contributor
|
@lonng merge failed. |
Signed-off-by: Lonng <heng@lonng.org>
Contributor
Author
|
/run-all-tests |
eurekaka
approved these changes
Aug 20, 2019
Contributor
|
cherry pick to release-3.0 failed |
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.
What problem does this PR solve?
This PR adds a
BatchPointGetexecutor to improve theSELECT ...WHERE INperformance if theWHEREclause is applied to a unique key.Before this PR
After this PR
What is changed and how it works?
select * from tbl where (a, b, c) in ((1,2,3),(2,4,5));to a union statement.Check List
Tests
Benchmark (gist)
Tests a various combination of index column count and expressions count in the
INclause.Release note: