google / google/leveldb

Question: Shard the set of files into multiple directories

Open
#817 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
39.4k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

https://github.com/google/leveldb/blob/master/doc/impl.md#number-of-files
> Number of files
> Instead of always making 2MB files, we could make larger files for larger levels to reduce the total file count, though at the expense of more bursty compactions. Alternatively, we could shard the set of files into multiple directories.

Just wanted to know **how** can we shard the set of files into multiple directories as mentioned above. Is it somewhere in the configuration, setup... Any help or a documentation link on this would be much appreciated.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.