Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

LMDB author here - what have you got against APPEND? Fast bulk-loading is pretty important when you're initializing a system.

Note that APPEND mode won't allow you to corrupt the DB, despite what the doc says - you'll get a KEYEXIST error if you try to load out of order. We just left the doc unchanged to emphasize the importance of using sorted input.



Thanks, Howard. That's good to know. The docs always scared me away from using it at all.


Perhaps it's time for us to update the doc to reflect reality...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: