tarantool / tarantool/tarantool

Allow to use exclude_null indexes when possible

Open
#5,718 0 comments 0 reactions 1 assignee View on GitHub

@mary3000 is already working on this.

Since Jan 18, 2021.

feature sql
Dominant language
Lua
Stars
3.7k
Forks
419
Avg merge
1d 23h
Merged PRs (30d)
88

Description

See #4480
With this new feature, it is possible to create a partial index - it doesn't contain null values of a specified part. That means it can't be considered as a possible index for SQL select queries lookups. Which can hurt performance.
We need to identify if such an index can be actually used in a select statement.
For example:

  1. where clause contains is not null for the nullable part
  2. there were not any inserts of nullable values yet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.