-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[YSQL] IN query should use index #1554
Comments
frozenspider
added
the
kind/enhancement
This is an enhancement of an existing feature
label
Jun 17, 2019
Related issue: #995 |
ndeodhar
changed the title
[YSQL] Range and IN queries should use index
[YSQL] IN query should use index
Jun 20, 2019
Talked to @m-iancu earlier, maybe let's hold on this for a while @JDNdeveloper, until we realize if there's a bottleneck on being able to have more folks working on these types of optimizations. |
frozenspider
added a commit
to yugabyte/jepsen
that referenced
this issue
Jun 24, 2019
The following tests were adopted: * `bank-multitable` * `set` * `set-index` - disabled because index wasn't actually used - see yugabyte/yugabyte-db#1554 * `long-fork` * `single-key-acid` * `multi-key-acid`
aphyr
pushed a commit
to jepsen-io/jepsen
that referenced
this issue
Jul 31, 2019
The following tests were adopted: * `bank-multitable` * `set` * `set-index` - disabled because index wasn't actually used - see yugabyte/yugabyte-db#1554 * `long-fork` * `single-key-acid` * `multi-key-acid`
rajukumaryb
added a commit
that referenced
this issue
Aug 23, 2019
Summary: Usage: SELECT ... FROM ... WHERE range_col IN (val1, val2, ...) Before: Client --------- (val1, val2, ...) ---------> Postgres ----------------------------------------------> DocDB After: Client --------- (val1, val2, ...) ---------> Postgres --------- ascending(val1, val2, ...) ---------> DocDB Test Plan: ./yb_build.sh debug --scb --java-test org.yb.pgsql.TestPgInequality#testInequalityPredicatePushdownTwoRangeColumnsPerformance Reviewers: mihnea, neil Reviewed By: neil Subscribers: yql Differential Revision: https://phabricator.dev.yugabyte.com/D7032
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given the schema:
EXPLAIN
shows that only the first of the following cases involves index:(
BETWEEN
, etc. are also worth checking)For reference, in Postgres they all have plans like this:
The text was updated successfully, but these errors were encountered: