in reply to Re^4: Multiple write locking for BerkeleyDB
in thread Multiple write locking for BerkeleyDB
As far as memory tables, I had an error in my benchmark, I was running it with no rows in the table, so no updates were happening at all. I have corrected it in the original post, and also tried a MySQL memory table; SysV is about 4.7 times faster than a memory table. I also added a benchmark using mmap and an atomic add, which is much, much faster than any of the other solutions.
And as to the amount of work MySQL and SysV are doing behind the scenes, I don't see how it matters much unless the OP needs every update written immediately to disk. Otherwise MySQL is just doing extra work that the OP doesn't need.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Multiple write locking for BerkeleyDB
by dino (Sexton) on Apr 24, 2008 at 16:38 UTC | |
by sgifford (Prior) on Apr 24, 2008 at 17:07 UTC | |
Re^6: Multiple write locking for BerkeleyDB
by samtregar (Abbot) on Apr 24, 2008 at 16:32 UTC | |
by sgifford (Prior) on Apr 24, 2008 at 16:50 UTC |