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

Re: Slow adding attributes to a entry with many attributes



Hum, I haven't sat the checkpoint in slapd! It appears to be a good
solution for me. Thanks!

About BDB: Have I to update to BDB 4.4 or 4.2.52 from Debian stable
works is fine?

Thanks

On 12/8/05, Quanah Gibson-Mount <quanah@stanford.edu> wrote:
>
>
> --On Thursday, December 08, 2005 5:12 PM -0200 Ariel Malves
> <almalves@gmail.com> wrote:
>
>
> > Well, the adding time is not the problem (for me). I think that my
> > worst problem is the log size:
> >
> ># du -h /home/tmpldap
> > 5,3G
> > Is there a way to avoid the generation of this big log (without the
> > DB_TXN_NOT_DURABLE
> > flag)?
>
> Did you properly configure DB_CONFIG?
> Did you set a checkpoint directive in slapd.conf?
>
>
> > If I create a ldif with all attributes and use slapadd, the operation
> > is very fast.
>
> This is the recommended way to bulk-load an OpenLDAP server...
>
> > PS: Now I´m running openldap-2.3.12 and BDB 4.2.52-18
>
> Good to hear.
>
> --Quanah
>
> --
> Quanah Gibson-Mount
> Principal Software Developer
> ITSS/Shared Services
> Stanford University
> GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
>
>