David Boreham wrote:
Next major = 5.xx?
I think it might make it into the next 4.x release.
Sounds good.
It turns out that a simple patch to BDB is all that's needed (see attached).
Hmm. It's not documented that you can pass DB_TXN_NOT_DURABLE to DB->txn_begin(), but perhaps that's a doc bug.
But this will not give you Level 2 Isolation. You will still be acquiring read page locks under your long lived transaction. Eventually I suspect that you will overflow the lock table, or worse deadlock with a writer thread.
-- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support