-
Record Number and key/value database, alternative to BerkeleyDB
Hi,
I need a database with two features present in berkeley DB: access by
record number and by key/value. The problem is berkeley db got
enormous in terms of functionalities, and some simple stuff became to
slow.
I need hard disk write warranty for every record. Berkeley DB does
this using transactions, it's simple as initializing the environment
with TXN support and open database with the DB_AUTO_COMMIT flag. But
when I do this it become dog slow, as slow as 25 records per second in
my macbook . Ok, it's a notebook HD, but 25/sec is slow even for a
1.44 floppy...
I don't need all that logging, transactions, replications and stuff, I
just need recno and key/value access, as fast as the HD can deliver.
Do you know some alternative? Or maybe how to make bdb fast?
Rodrigo Strauss