This topic applies only to the PingDirectory server.

The dbtest tool provides a utility that can be used to obtain general information about the data in a backend database. The tool dumps information about entries or keys, and raw data from the database. It can also find keys that have exceeded the entry limit.

For example, the following command can be used to dump a list of all keys in the objectClass.equality that have exceeded the entry threshold:

$ bin/dbtest dump-database-container \ 
  --backendID userRoot \ 
  --baseDN "dc=example,dc=com" \ 
  --databaseName objectClass.equality \ 

On a large database, many dbtest operations can take a long time to complete, since every record in the associated database is examined. Use the database name option to list a specific database. The following command displays information about the uid.equality database in the dc=example,dc=com entry container in the userRoot backend.

$ bin/dbtest list-database-containers -n userRoot -b "dc=example,dc=com" -d uid.equality