[Date Prev][Date Next]
Re: Enhancement to slapindex (ITS#457)
> Full_Name: Mark Adamson
> Version: devel
> OS: Solaris
> URL: http://nil.andrew.cmu.edu/openldap/multislapindex
> Submission from: (NULL) (184.108.40.206)
> I was using the "slapindex" program to create new index files for my LDBM
> database. It took about 1.5 hrs to run, to reindex a single attribute. I had
> attributes that I wanted to reindex, and it seemed absurd to do this one at a
> the slapindex program should be able to reindex multiple attributes in a single
> I made changes to the latest (devel) build of slapindex to allow this, it was
> trivial. I ran it, giving it 6 attributes to index at once. It took under 2 hrs
> run, instead of the 9 hrs it would have taken to run them serially.
> As per the patch submission guidelines, a "diff -luN" of the changes is
> available at
> Share & Enjoy.
> -Mark Adamson
> Carnegie Mellon University
This is a great idea, but I think you may be incorrect in your assumption
(unless you actually timed it) that the indexing of all 6 attributes would
take 6x the time of the first indexing. Substring (including dn) indexing
takes far longer than those which are simply exact, or existence.