I have already held the 80G Berkeley DB file. I measure the average insert speed is 8ms for one record(32 byte key/100 byte value) without transaction.
Compare to insert to empty database with same interface, the average speed is 3~6 us.
I have already held the 80G Berkeley DB file. I measure the average insert speed is 8ms for one record(32 byte key/100 byte value) without transaction.
Compare to insert to empty database with same interface, the average speed is 3~6 us.
If you insert data when your buffers are empty it can perform every well, once the buffers of your system are full, they cannot continue until some buffer space has been clearer. e.g. the time to write data to a HDD is typically 8 ms.
I would test busts of say one million records, after the system is quiet to see what the latency is like when the buffers are not full.