|
|
|
|
|
|
| Author |
Message |
sub.apache@gmail.com *nix forums beginner
Joined: 11 Jul 2006
Posts: 3
|
Posted: Tue Jul 11, 2006 12:32 am Post subject:
cursor traverse order of hash based database
|
|
|
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 |
|
 |
|
|
The time now is Sat Nov 22, 2008 8:02 am | All times are GMT
|
|
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
|
|