[pybsddb] Batch import is slowing down

Jesus Cea jcea at jcea.es
Wed Jun 24 18:56:57 CEST 2015


On 24/06/15 12:09, Amirouche Boubekki wrote:
> Indeed the documentation is very good, you did a very good job with that.

I didn't write it :-). In fact neither Oracle did. It was mostly written
in the SleepyCat era :), before Oracle bought them.

Anyway I am not related to Oracle in any way at all.

> - The first set of 10 000 entries took 3 seconds to load.
> - 49th set took 2 minutes

If could be a cache size issue. I can't really tell without checking it
myself. What does "db_stat -m" show?. Initialize the stats with "db_stat
-mZ" from time to time and compare results between the beginning and the
slow part.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20150624/7774ac4a/attachment.asc>


More information about the pybsddb mailing list