tarantool / tarantool/tarantool
Allow to use exclude_null indexes when possible
Open
@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:
whereclause containsis not nullfor the nullable part- there were not any inserts of nullable values yet.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.