[pybsddb] Bulk Data load into a DB

Jesus Cea jcea at jcea.es
Tue Mar 30 02:03:39 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/29/2010 10:39 PM, Jon Kerr Nilsen wrote:
> Forgot to say that our application interface has bulk support. I just
> meant that we have to do bulk transfers all the time so the
> application code would be better if we could just stuff in key-value
> lists into bdb in one go.

So now your application opens a transaction, cycles over the key/value
received, does a "put" for each, and does the final "commit". I guess.

I will support bulk interface, but I would like somebody could measure
performance improvement. Any voluntary?. Would need to code it in C...

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBS7E/25lgi5GaxT1NAQKKYwP9GxlaxlaKdHHACx9zGxFtwte2cZrxOlWt
CMMMdy33KEuPO9Gba2Q+9k3hemgCRFgIrtMvSvXLSxG367wzg9eRk7if/9UMUMvx
UvCBWVTrlYJMxeBFXoqdD7msY0pnlZie/7djIEvaRjq3QImcLC7fsCw/7TDqvvU6
rL9s/Fv5/l8=
=c3U1
-----END PGP SIGNATURE-----



More information about the pybsddb mailing list