dbTalk Databases Forums  

Is it possible to get the n-th entry in bdb?

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Is it possible to get the n-th entry in bdb? in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Is it possible to get the n-th entry in bdb? - 07-09-2006 , 03:40 AM






Hello,

I wish to access the n-th entry in a database(say btree structure) in
an efficient way, but I can't find a clue that it is possible in bdb.
That would need to introduce a "number of nodes in its subtree or left
subtree" field to each node. I wonder if bdb support this. Thank you.

BTW if bdb does not support it, could anyone give a suggestion about
what i can do to achieve it?

Thanks and regards,

Kevin


Reply With Quote
  #2  
Old   
Philip Guenther
 
Posts: n/a

Default Re: Is it possible to get the n-th entry in bdb? - 07-10-2006 , 06:46 AM






klzhao (AT) gmail (DOT) com wrote:
Quote:
I wish to access the n-th entry in a database(say btree structure) in
an efficient way, but I can't find a clue that it is possible in bdb.
BDB supports logical record numbers for the btree, queue, and recno
access methods. Details can be found at:
http://www.sleepycat.com/docs/ref/am_conf/logrec.html


Philip Guenther



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.