speedb-io / speedb

A RocksDB compliant high performance scalable embedded key-value store
https://www.speedb.io/
Apache License 2.0
919 stars 72 forks source link

Decrease the default bucket number in hash_spd to 400,000 #854

Closed erez-speedb closed 8 months ago

erez-speedb commented 8 months ago

The current consume too much memory and test with 1,000,000,000 small obj in 4 CF showed little to none degraded performance with 400k

Guyme commented 8 months ago

@ayulas - Please review Erez's findings and if you are in agreement please make the change. Thanks

ayulas commented 8 months ago

Agree change will be made

ayulas commented 8 months ago

done https://github.com/speedb-io/speedb/pull/856