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

Fw: LDAP write performance

I stareted a few tests with ldapmodify :

   dn: <dn>

and there are the results :

removing of one value

 group_1 ( 727 uniqueMember-values) : ca. 6 s.
 group_2 ( 2571 uniqueMember-values) : ca. 17 s.
 group_3 ( 4166 uniqueMember-values) : ca. 26 s.
 group_4 ( 7078 uniqueMember-values) : ca. 42 s.

It seems to write anyway all values !
Question : has anyone an idea, how to do it better ? Is it a OpenLDAP
"bug" ( i use 2.0.7), maybe can other products do it faster ?

>> Can i change only one value of this attribute ? I use JNDI and
>> it seems to replace all values of an attribute. It takes 10-20 s.
>> Does someone have an idea, how to optimize it ?
>> Is that a LDAP- or JNDI-  problem ? Maybe the LDAP-Directory
>> allows to write or remove only one value ?
>LDAP of course does. (at least for delete-operation) by using ldapmodify
>can remove single key/value pairs by specifying both, the key and the
>changetype: modify
>delete: uniqueMember
>-> deletes all of them
>changetype: modify
>delete: uniqueMember
>uniqueMember: <value>
>-> deletes only the 'uniqueMember-entry(ies)' with the specified value.
>to change, just remove and re-add what you want to change, think that
>work with JNDI too, somehow..