Skip to content

[Enhancement] Reducing memory expansion when flushing memtable #58780

@sollhui

Description

@sollhui

Search before asking

  • I had searched in the issues and found no similar issues.

Description

Background

We observed that a large amount of memory expansion occurred during the down flushing of memtable, causing imports to be easily cancelled due to resource constraints or large data volumes.

Solution

The blocks of memtable are organized by columns in memory, and the memory expansion of memtable during down flushing is greatly optimized by flushing memtable and releasing related memory(such as memtable block and pages of column writer) columns by columns

Solution

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions