Skip to content

feat: add secondary index support #21

@auula

Description

@auula
  • 添加二级索引的支持

实现方式在内存中维护 Secondary Index 结构,索引 index:type:column 映射到主键 inode,再通过 inode 拿到数据的 inode 信息查找到磁盘上的数据。由于 Secondary Index 结构也需要持久化,所以需要定期刷盘,并且以刷盘为一个日志记录周期,采用 WAL 来保证 Secondary Index 结构也是实时性和可靠性。

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions