You might look at HDB, which is read & write optimized. I've not had
any issues with heavy writes with BDB, but it is not specifically
write optimized as far as I know. I do suggest dumping ldbm. ;)
--Quanah
Luckily I have these great instruction for building BDB that someone at
Stanford wrote:)