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

Re: (ITS#4554) slapindex option for attribute



quanah@stanford.edu wrote:
> --On Tuesday, May 23, 2006 7:24 AM +0000 bgmilne@staff.telkomsa.net wrote:
>
>   
>> As far as I understand, you should not need this at all when using
>> back-config, as slapd should be able to index the newly index-configured
>> attribute, and start using it when the index is complete.
>>
>> I have not tried this myself.
>>     
>
> Yeah, I quite understand that. ;)  back-config doesn't support -q and is 
> going to be slow as hell on a running server, especially when you are 
> dealing with 100+ million entry directory servers like I'm playing with.
>   

Everyone has different needs. Some people would rather not take their 
server down to accomplish a reindex, and a 100M entry directory will 
take a long time to reindex, regardless. The tradeoff of course is how 
long it will take before you can get any benefit of the new index in 
search operations. If you have other servers that can take up the slack, 
then of course doing the indexing offline will be faster.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/