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

Enhancement to slapindex (ITS#457)



Full_Name: Mark Adamson
Version: devel
OS: Solaris
URL: http://nil.andrew.cmu.edu/openldap/multislapindex
Submission from: (NULL) (128.2.122.223)


I was using the "slapindex" program to create new index files for my LDBM
backended
database. It took about 1.5 hrs to run, to reindex a single attribute. I had
several
attributes that I wanted to reindex, and it seemed absurd to do this one at a
time;
the slapindex program should be able to reindex multiple attributes in a single
run.

I made changes to the latest (devel) build of slapindex to allow this, it was
fairly
trivial. I ran it, giving it 6 attributes to index at once. It took under 2 hrs
to
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

	http://nil.andrew.cmu.edu/openldap/multislapindex


Share & Enjoy.


-Mark Adamson
 Carnegie Mellon University