Skip to content

[YSQL] Support GIN Indexes #7850

Open
Open
@m-iancu

Description

Jira Link: DB-1616
design doc: https://github.com/jaki/ysql-gin-doc/releases.

ybgin is to gin as lsm is to btree.

Stage 1 (Release target: v2.11)

  1. feat: add system catalog entries for new opclass ybgin
  2. refactor: transparently change USING gin to use ybgin on Yugabyte tables (ysql: transparently change gin to ybgin #8402)
  3. feat: implement limited functionality for ybgin
  4. refactor: turn PrepareIndexWriteStmt to callback ([YSQL] Turn PrepareIndexWriteStmt to callback #10406)
  5. feat: support text search (YSQL - full text search  #3446)
  6. feat: support writing null categories (ysql: support writing ybgin null categories #9959)
  7. feat: redirect unsupported scans to sequential scan (cost estimates) (ysql: use sequential scan instead of unsupported ybgin scan #9960)

Stage 2

Future

  • perf: do smarter scans using parallel scan streams
  • perf: don't always recheck tuples
  • feat: support IndexOnlyScan (this is not in upstream PostgreSQL)

Metadata

Assignees

No one assigned

    Labels

    area/ysqlYugabyte SQL (YSQL)kind/enhancementThis is an enhancement of an existing featurepriority/mediumMedium priority issueroadmap-tracking-issueThis issue tracks a major roadmap item, and usually appears in the roadmap list.

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions