4.4. Database Files

4.4. Database Files

Each Directory Server instance contains the /var/lib/dirsrv/slapd-instance_name/db directory for storing all of the database files. The following is a sample listing of the /var/lib/dirsrv/slapd-instance_name/db directory contents.

__db.001  __db.003  __db.005   NetscapeRoot/
__db.002  __db.004  DBVERSION  log.0000000007  userRoot/
Example 4.1. Database Directory Contents

NOTE

If a new database is created (for example, testRoot) to store the directory tree under a new suffix, the directory named testRoot also appears in the /var/lib/dirsrv/slapd-instance_name/db directory.

The following is a sample listing of the NetscapeRoot directory contents.

./		entrydn.db4*		parentid.db4*
../		givenName.db4*		sn.db4*
DBVERSION*	id2entry.db4*		uid.db4*
aci.db4*	nsUniqueId.db4*		uniquemember.db4*
ancestorid.db4*	numsubordinates.db4*
cn.db4*		objectclass.db4*
Example 4.2. NetscapeRoot Database Directory Contents

The NetscapeRoot subdirectories contain an index_namedb4 file for every index currently defined in the database. In addition to these files, the NetscapeRoot and userRoot subdirectories contain the following files:


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.