in reply to Re: What is a fast way to get keys of a Berkeley DB into an array?
in thread What is a fast way to get keys of a Berkeley DB into an array?

It looks like the Berkeley DB C API does support getting multiple keys at once using the DB_MULTIPLE_KEY flag:

http://pybsddb.sourceforge.net/api_c/dbc_get.html

It's not apparent to me though that this functionality is accessible through the Berkeley DB Perl module.
  • Comment on Re^2: What is a fast way to get keys of a Berkeley DB into an array?

Replies are listed 'Best First'.
Re^3: What is a fast way to get keys of a Berkeley DB into an array?
by almut (Canon) on Jun 09, 2010 at 20:10 UTC

    As I understand DB_MULTIPLE_KEY would still retrieve complete entries, i.e. keys plus values, so any performance improvement (if the functionality was available, which I think it isn't) would likely only be marginal.