bytedance / terarkdb

A RocksDB compatible KV storage engine with better performance
Apache License 2.0
2.04k stars 203 forks source link

how to create the smallest possible initialization of the db? #239

Closed hiqsociety closed 1 year ago

hiqsociety commented 2 years ago

how do i make a config of the lowest possible size of db creation? (with and without log) rationale : i would like to create 1 db per user. some users may not be active so i need to ensure that each db uses the lowest min. possible storage. what kind of config setting will give me this?

currently using terarkdb but starting config gives around 50mb db creation. possible to make it <2kb? smaller or the page size of a filesystem.

in another unrelated issue, what's the statistic of high / largest usage? e.g. qps, db size etc etc.