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!

Clarification on 4.x handling of duplicates

vinothchandarApr 18 2012 — edited Apr 18 2012
Hi,

I know from the architecture paper that prior to BDB5, the duplicates were stored as a separate tree, linked from the BIN. This tree has a DIN, DBIN and LN I suppose.

Here are my questions :

1. Assuming sortedDuplicates is enabled, does this duplicate tree exist always or created only when a key has a duplicate? i.e if only 50% of my keys have duplicates, will all of them still have this tree?

2. How does evict_ln work? Are the DBIN and DIN nodes also cached? or are they treated as LNs since they are lower than the BIN.

Appreciate your help.

Thanks
Vinoth

Comments

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

Post Details

Locked on May 16 2012
Added on Apr 18 2012
3 comments
1,768 views