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

Re: commit: ldap/servers/slapd/back-bdb back-bdb.h config.c tools.c

Howard Chu writes:
>> Log Message:
>> Added linearindex option for slapindex. Improves performance when database
>> size exceeds dbcache size by minimizing cache thrashing.
> Another note that I forgot to mention - with the linearindex option, 
> slapadd does no indexing at all. (Otherwise it would defeat the purpose 
> of this feature.) You must run slapindex after slapadd in this case. I 
> suppose this should be in the manpage too.

Wouldn't it be better to have slapadd run slapindex before it exits?
It might not even have to exec() slapindex, since they are the same
executable now.