0

What is the best way to load data in LDAP where the data count is 10 million, tried with LDIF file which took more than 40 min for 300k records. Looking for an option to load 10 million records in less than 5 hrs. Is there anything that can be done to load data faster in LDAP

user207421
  • 305,947
  • 44
  • 307
  • 483
user3315068
  • 91
  • 2
  • 7
  • try bulkload if it's available. – ergonaut Oct 09 '15 at 01:14
  • Which LDAP product? If it's OpenLDAP you should use `slapadd` with the server in offline mode, rather than `ldapadd`. I'm sure it's quicker than 40m/300k. – user207421 Oct 09 '15 at 01:16
  • Thanks for your quick response on this, it's Sun LDAP – user3315068 Oct 09 '15 at 03:47
  • In that case you should investigate the utilities it comes with. Reading LDIF and feeding it via an LDAP client over a network isn't as fast as you probably need. The reason `slapadd` is fast is because it operates directly on the database. – user207421 Oct 09 '15 at 04:08

0 Answers0