[elephant-devel] Cannot allocate memory
Walter C. Pelissero
walter at pelissero.de
Mon Feb 28 10:35:05 UTC 2005
Ben writes:
> Have you tried using degree-2 cursors / transactions on your read?
> sleepycat by default uses serializable cursors / transactions. this
> means that during the course of a read you're guaranteed that the
> stuff you've seen won't change. this, as you can imagine, requires a
> lot of locks. degree-2 relaxes that condition, you might consider it.
Not sure. The function that scans the DB just happens to be called
from a transaction; it doesn't require a transaction itself.
I'll try to find out whether degree-2 cursors will do.
Thanks a lot.
--
walter pelissero
http://www.pelissero.de
More information about the elephant-devel
mailing list