[pybsddb] How to manage logs

Jesus Cea jcea at jcea.es
Sun Jun 21 19:55:30 CEST 2015


On 19/06/15 10:54, Amirouche Boubekki wrote:
> A few facts:
> 
> - in a previous post I was trying to set of DB_LOG_AUTO_REMOVVE with
> DBEnv.set_flags, which doesn't work.

You need to do database checkpoints.

> - DB_LOG_NOSYNC is in Oracle Documentation but is not in pybsddb

To use "DB_LOG_NOSYNC" you need to use Berkeley DB 6.1. You are using
Berkeley DB 5.3, I think. BEWARE with the License change in BDB 6.0.

Check
<https://docs.oracle.com/cd/E17076_04/html/api_reference/C/txnbegin.html>,
flags "DB_TXN_WRITE_NOSYNC" and "DB_TXN_NOSYNC".

-- 
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/20150621/d055d2ff/attachment.asc>


More information about the pybsddb mailing list