>>> Quanah Gibson-Mount <[email protected]> schrieb am 16.08.2021 um 23:20 in
Nachricht <45379D5CBFA94DE3B1EA38E5@[192.168.1.4]>:

> 
> ‑‑On Monday, August 16, 2021 10:00 PM +0000 Petteri Stenius 
> <[email protected]> wrote:
> 
>>
>> Thank you for your quick response.
>>
>>
>> If idlexp is the accepted solution then I'd like to understand how to
>> choose correct value for idlexp?
>>
>>
>> I have quickly tested with most values. With my quick tests I could not
>> find any significant impact on performance. Setting idlexp to maximum 31
>> did however cause slapd to crash with segmentation fault on my system.
> 
> The appropriate value for any environment is entirely dependent on that 
> environment's indexing and attribute value distribution for those indexed 
> attributes.  You generally want the minimum value for idlexp that allows 
> searches to function without performance problems.  Increasing the idlexp 
> size increases slapd memory usage.  Keep in mind that every increase in the

> idlexp value increases the index slot range by a power of 2.  The largest 

Did you mean "to a power of 2", or do you really mean "by a power of 2"?

> value I've ever needed for a massively large db with wide value 
> distributions was 22.

...

Regards,
Ulrich

Reply via email to