Speeding Up the NDS Bulk Loading Process
Articles and Tips: qna
01 Apr 2001
Q.
Dear Ab-end: We need to bulk load about 10 MB of objects in order to start our NDS eDirectory implementation. How can we speed up this process? - Bulk-Loading Quickly
A.
Dear Quickly: There are several things you can do to speed up the bulk-loading process:
Turn off indexing. Basically, delete the index altogether. With versions of NDS eDirectory before 8.5 (version 85.00), you'll have to do this manually. On NetWare, use the DSIEDIT tool; on Unix, use the NDSIEDIT tool.
With the latest release of eDirectory (version 85.00), you can accomplish this with a ConsoleOne snap-in without having to delete the index. Instead, you can suspend indexing on the server. To access the indexes, select the Server object in the tree and then open its Properties. Indexing will be one of the tabs.
Don't bulk load passwords. Create twoLDIF files. One LDIF file should have the entries you want to load and another should just have the passwords. Bulk load your passwords after you bulk load your entries. This is because it takes time to generate the key pairs for the passwords.
Put your DIB set on the fastest disk that you have. Faster disk I/O means faster bulkload.
If you're bulk loading test data, don't bulk load sequential CNs (Common Names). This means users with names like 001, 002, 003). That makes indexing inefficient. Use a tool that generates more realistic CNs.
Have you used the ICE (Import Convert Export) utility? It includes a new version of bulk load and provides a more efficient process. Whereas the old bulk loader loads one entry at a time, ICE loads multiple entries at a time. It also takes advantage of the LBURP protocol.
Remember that bulk loading is usually a one time thing. (Answer supplied by David McLaurin of Novell, Inc.
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.