niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
cursor traverse order of hash based database
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
sub.apache@gmail.com
*nix forums beginner


Joined: 11 Jul 2006
Posts: 3

PostPosted: Tue Jul 11, 2006 12:32 am    Post subject: cursor traverse order of hash based database Reply with quote

Hi, I am trying to read key/data pairs within a range of buckets from
hash based berkeley db. I would like to avoid creating a secondary
index of bucket number for this purpose if possible.

Is there a fixed order of the cursor traverser in hash db (considering
the linear hash of bdb can be extented ) ?

If I use DBcursor->c_get() with DB_NEXT_NODUP and finish reading all
key/data paires in current bucket, will the cursor move to record in
next bucket (current bucket+1 or greater) of the hash db ? or it will
just pick a page that's physically next to current page ?

I think the cursor traverse order is obvious for b-tree based db. But
for hash bashed db,
I can't find a answer from
http://www.sleepycat.com/docs/api_c/dbc_get.html

Any suggestion will be appreciated. Thanks.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 8:02 am | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Add BCC Based on Email Subject adoner Postfix 0 Tue Mar 18, 2008 6:12 pm
No new posts Move Oracle 10g database to another location Selt Server 0 Fri Jul 21, 2006 2:14 pm
No new posts database Share Memory Limit (2 GB ) in a Instance is tota... sadanjan@gmail.com IBM DB2 0 Fri Jul 21, 2006 12:57 pm
No new posts Home based Internet research Jobs honey PHP 0 Fri Jul 21, 2006 11:29 am
No new posts Bug#379087: ITP: libcomplearn -- data-compression based i... Rudi Cilibrasi devel 0 Fri Jul 21, 2006 7:40 am

Web Advertising | MySpace Images | Mobile Phone | Credit Card | Unsecured Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1208s ][ Queries: 16 (0.0538s) ][ GZIP on - Debug on ]