Skip to content

Flush memtable before compact manually #5179

@flowbehappy

Description

@flowbehappy

Enhancement

We currently support running alter table T compact tiflash replica to trigger compactions manually. And compactions only merge the on-disk data, the data in memtable cannot be merged. It will be better to also flush the memtable before doing compactions, so that we can have a better data layout and better read performance.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions