Skip to content

How do we choose which part of cache tree and main tree to merge? #8

@UncP

Description

@UncP

I have read the LSM Tree paper, but still have some parts that don't understand. If cache tree needs to merge, how do we determine which multi page block in main tree and which part in cache tree to merge? since keys in main tree will overlap if we do not choose carefully? Is it ok that we keep two pointers in cache tree and main tree to help the merge?

Also, do you have some blogs or articles that explain LSM Tree in detail?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions