> -----Original Message-----
> From: Quanah Gibson-Mount <qua...@fast-mail.org>
> Sent: Tuesday, March 18, 2025 4:51 PM
> To: Windl, Ulrich <u.wi...@ukr.de>; Ondřej Kuzník <on...@mistotebe.net>
> Cc: openldap-technical@openldap.org
> Subject: [EXT] RE: RE: Re: Re: accesslog seemingly needs a lot of space
> 
> 
> 
> --On Tuesday, March 18, 2025 9:59 AM +0000 "Windl, Ulrich"
> <u.wi...@ukr.de>
> wrote:
> 
> >  [Windl, Ulrich]
> > Of course those 11 indoces are on the accesslog database.
> 
> I'm not sure what 11 indices you are referring to. An accesslog database
> only requires the following indices (all eq):
> 
> entryCSN
> objectClass
> reqDN
> reqEnd
> reqResult
> reqStart
> 
> For a total of 6 indices.

As I read the accesslog with separate programs, too, I'm using
olcDbIndex: entryCSN eq
olcDbIndex: objectclass eq
olcDbIndex: reqStart eq
olcDbIndex: reqEnd eq
olcDbIndex: entryUUID eq
olcDbIndex: reqResult eq
olcDbIndex: reqDN eq
olcDbIndex: reqMod sub
olcDbIndex: reqType eq
olcDbIndex: reqAuthzID eq
olcDbIndex: modifyTimestamp eq

but as the actual accesslog only contains successful writes, I could drop 
reqResult.

Kind regards,
Ulrich Windl

Reply via email to