speedb-io / speedb

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

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

Closed erez-speedb closed 4 months ago

erez-speedb commented 4 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 4 months ago

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

ayulas commented 4 months ago

Agree change will be made

ayulas commented 4 months ago

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