--On Friday, September 16, 2022 9:27 AM +0200 Ulrich Windl Ulrich.Windl@rz.uni-regensburg.de wrote:
Quanah Gibson-Mount quanah@fast-mail.org schrieb am 15.09.2022 um 18:09
in Nachricht <1F341BC71D7ADCBA8A4880D3@[192.168.1.17]>:
‑‑On Thursday, September 15, 2022 5:49 PM +0100 Howard Chu hyc@symas.com wrote:
There's nothing to wait for. Index generation is in a background thread, it doesn't block cn=config. ‑‑
On a large DB, it can take several hours until the index is actually ready for use. So if you need it to be functional, it's better to slapindex ‑q.
But in both cases you can't use it before the index is done. I don't see the big difference.
The difference is that slapindex -q <attr> can take a few seconds to a few minutes on a large index, while the background indexer may take numerous hours. If you need that index available immediately to resolve perf issues, it makes alot more sense to use slapindex -q.
--Quanah