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!

Appending to an existing value?

2686376Jun 4 2014 — edited Jun 19 2014

Hi Guys,

I am new to Berkeley DB. I was wondering if there is a way to append to some existing value in the db. In my application, the value is in the form of link-list( which is converted to DataEntry). On every updation, I want to append to it and then write it to the disk. Currently I am using Berkeley DB in a synchronous mode. So, everytime i make an update, the entire value is read to memory and then update is made and this large updated value is written back to disk. This take a lot of time. Is there a way by which the change can just be appended to the list? There is flag Db.DB_APPEND in com.sleepycat.db.*(Berkeley DB standard), but is there something similar in Berkeley DB Java Edition ?

This post has been answered by User733634-Oracle on Jun 5 2014
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 17 2014
Added on Jun 4 2014
10 comments
4,014 views