Space information

You must determine the space that is required on your system to load data to a directory server with the bulkload utility. You must ensure that the system has enough space to store the data that are generated during the different phases of bulkload.

On an AIX® system, the space that is required for three different file system directories was calculated for each of the four LDIF files. The first is the space in the temporary directory that is used by the parse phase of the bulkload operation. You can refer the space temporary as the parse size. The second is the space that is required in the directory where the database is stored. You can refer the space that is required for the directory as the database size. The third is the space that is required to hold a backup of the database and you can refer it as the backup size. The charts that are displayed show the statistics for both the small and large entry files. The small and large-size entries files are created with 100,000, 1,000,000 entries.

Space that is required to bulkload an LDIF file with 100,000 entries

Comparison of bulkload space that is required for LDIF file with 100,000 small entries and LDIF file with 100,000 large entries
Table 1. Bulkload space for 100,000 entries
Size in MB Small entries Large entries
LDIF file size in MB 41 859
Parse space in MB 139 927
Database space in MB 304 1213
Back up space in MB 320 1233
Space that is required to bulkload an LDIF file with 1,000,000 entries

Comparison of bulkload space that is required for LDIF file with 1,000,000 small entries and LDIF file with 1,000,000 large entries
Table 2. Bulkload space for 1,000,000 entries
Size in MB Small entries Large entries
LDIF size in MB 407 8597
Parse space in MB 1405 9294
Database space in MB 2779 11864
Back up space in MB 2793 11866

From this data, you can generalize the amount of space that is needed per entry for the different types of entries. For the smaller entries about 3 KB of space per entry is needed for database storage. For the larger entries, the requirement increases to 12 KB per entry.

The space that is required to back up the database is roughly equivalent to the space needed for the database itself. The space that is required during the parse phase of the bulkload is about 3.5 times the size of LDIF file with the smaller entries. The space that is required for the parse phase of the bulkload is about 1.2 times the size of LDIF file for the larger entries.