[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7925) mdb_from_db Berkeley DB importer



graehl@gmail.com wrote:
> Full_Name: Jonathan Graehl
> Version: commit 8d346721a60684aeaa7b1e3b2111c972393bfad3
> OS: linux
> URL:
> Submission from: (NULL) (75.85.99.117)
>
>
> mdb_from_db Berkeley DB->LMDB import utility

Interesting, thanks for the submission.

> +Additionally,
> +.B mdb_from_db
> +may write in the
> +.B -T
> +plain text format understood by
> +.BR mdb_load (1)
> +which can only understand a single subdatabase at a time.

Not true. mdb_load can load multiple DBs from a single input file.

Also, I'm not sure if it's your mailer or ours, but this submission text is 
riddled with corruptions.
> +
> B2B.SH OPTION0D0D

In general I don't think including this utility into LMDB is a good idea since 
it has an obvious binary dependency on BerkeleyDB. In particular, with the 
change of BerkeleyDB's license to AGPL it would not be possible for anyone to 
distribute any binaries for this package.

Better to just use BDB db_dump piped into mdb_load.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/