Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Reading from a Cursor while writing on the same database

796582Sep 14 2010 — edited Sep 15 2010
Hello,

I'm implementing a simple datastore on top of Berkley DB. I'm going to add a cursor utility but I'm not sure about implications of using a cursor (even in RO mode) while reading/writing with simple gets and puts on the same db.

Suppose I opened a cursor on a db and I'm doing some aggregation (RO mode) over its elements while other threads are writing on the same db. What are the implications of this scenario ? Have I to implement some tx in there ???

Thank you for the help,
Ugo.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 13 2010
Added on Sep 14 2010
8 comments
995 views