Skip to content
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
This repository was archived by the owner on Mar 12, 2026. It is now read-only.

Memtable support dedup rows with same primary keys  #1035

@jiacai2050

Description

@jiacai2050

Describe This Problem

Current memtable implementation will always append row to inner list, which will take more memory than expected when there are duplicated rows, and this will cause SST in level0 is very small, which is unfriendly for query.

Proposal

Dedup rows when insert to memtable for tables in overwritten mode

Additional Context

#1020 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions