Quanah Gibson-Mount wrote: > Note, that in *repeated* tests
I've done, it was always quicker to "slapcat" the entire database and then "slapadd" it back in, than to run slapindex. There was some work done at one point to fix this problem, I don't recall if it made it into 2.2 or not, IIRC there were some unintended side effects, and it was put off for now.
Some comparisons on a 330,000 entry db:
running slapindex where I changed a single attribute to have "sub" as well as "eq": > 26 hours
running "slapcat" then "slapadd" for the same DB with memory cache: approx. 2 hours
running "slapcat" then "slapadd" for the same DB with disk cache: approx. 6 hours