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

big changetype vs. small



Greetings,

Are the following two ways of modifying an account same in regard of server performance?

Method1:
=======================
uid=111,ou=people,dc=tamu,dc=edu
changetype: modify
delete: major
-
replace: title
title: student worker
-
add: phone
phone:  1234567
========================

Method2:
========================
uid=111,ou=people,dc=tamu,dc=edu
changetype: modify
delete: major
-

uid=111,ou=people,dc=tamu,dc=edu
changetype: modify
replace: title
title: student worker
-

uid=111,ou=people,dc=tamu,dc=edu
changetype: modify
add: phone
phone:  1234567
========================

I see one benefit of splitting one big 'changetype' entry into several small ones.  Due to non-or-all nature of LDIF changes, if one operation fails, it will not hurt other changes that should also apply on the same directory entry.  
Any other comments?  

Thanks much in advance.

Bing  

Bing Du <bing-du@tamu.edu, 979-845-9577>
Texas A&M University, CIS, Operating Systems, Unix