[freenet-dev] Help with berkeley db
bbackde at googlemail.com
bbackde at googlemail.com
Sun Mar 25 18:41:27 UTC 2007
I currently check if the berkeley db could be a replacement for McKoi
db which is used by Frost. I'm not too happy with McKoi.
But I still don't get the concept of berkeley db. I need queries like:
give me the messages (aka. db keys) of all messages that are:
- new (isnew=true)
- valid (isvalid=true)
- not older than X days (msgdate >= oldestDate)
berkeley seems to access all stored object by key only (?). Do I have
to implement the 'table scan' by myself? How can I learn about this,
where are more complex examples (transition from sql to berkeley db)?
If someone can help and assist me that would be such great :)
Thanks.
More information about the Devl
mailing list