Previous Topic: Convert Data from CSV Format to LDIF

Next Topic: Example: Count Entries in a Single DSA

Counting Entries

To count the number of entries in a directory, you can search for all of the entries in the directory, and then count the number of entries returned.

However, this is not feasible in an automated system or in a system where the search returns large numbers of entries.

Instead, CA Directory provides a special entry information selector dxEntryCount to provide this information. This is far more efficient when result sets are large. This selector lets you count the entries within a single DSA.

CA Directory also provides the entry information selector dxTotalEntryCount, which counts the entries in a directory that is distributed across more than one DSA.