wickdb icon indicating copy to clipboard operation
wickdb copied to clipboard

Feature: introduce mmap based read ops for read-only files

Open Fullstop000 opened this issue 3 years ago • 0 comments

For some read-only files, the mmap can be used to improve the reading performance in read-only situation a lot. For example, when doing major compaction, reading the input SSTables by mmap may be more sufficient than just calling read().

In origin leveldb fs layer env, PosixMmapReadableFile is introduced for such cases.

Fullstop000 avatar Sep 21 '20 10:09 Fullstop000