Database Files
213
__db.002 __db.004 DBVERSION log.0000000007 userRoot/
Example 4.1. Database Directory Contents
•
db.00x
files — Used internally by the database and should not be moved, deleted, or modified in
any way.
•
log.xxxxxxxxxx
files — Used to store the transaction logs per database.
•
DBVERSION
— Used for storing the version of the database.
•
NetscapeRoot
— Stores the
o=NetscapeRoot
database created by default when the
setup-
ds-admin.pl
script is run.
•
userRoot
— Stores the user-defined suffix (user-defined databases) created at setup; for example,
dc=example,dc=com
.
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_name
db4
file for every index currently defined in
the database. In addition to these files, the
NetscapeRoot
and
userRoot
subdirectories contain the
following files:
•
ancestorid.db4
— Contains a list of IDs to find the ID of the entry's ancestor.
•
entrydn.db4
— Contains a list of full DNs to find any ID.
•
id2entry.db4
— Contains the actual directory database entries. All other database files can be
recreated from this one, if necessary.
•
nsuniqueid.db4
— Contains a list of unique IDs to find any ID.
•
numsubordinates.db4
— Contains IDs that have child entries.
•
objectclass.db4
— Contains a list of IDs which have a particular object class.
•
parentid.db4
— Contains a list of IDs to find the ID of the parent.
Содержание 8.1
Страница 8: ...viii ...
Страница 14: ...xiv ...
Страница 16: ...2 ...
Страница 250: ...236 ...
Страница 334: ...320 ...
Страница 372: ...358 ...