dbscan
273
NOTE
The index file options, listed in
Table 6.25, “Index File Options ”
, are meaningful only when
the database file is the secondary index file.
Option
Parameter
Description
-k
key
Specifies the key to look up in
the secondary index file.
-l
size
Sets the maximum length of the
dumped ID list. The valid range
is from
40
to
1048576
bytes.
The default value is
4096
.
-G
n
Sets only to display those index
entries with ID lists exceeding
the specified length.
-n
Sets only to display the length
of the ID list.
-r
Sets to display the contents of
the ID list.
-s
Gives the summary of index
counts.
Table 6.25. Index File Options
Examples
The following are command-line examples of different situations using
dbscan
to examine the
Directory Server databases.
dbscan -f /var/lib/dirsrv/slapd-
instance_name
/db/userRoot/id2entry.db4
Example 6.7. Dumping the Entry File
dbscan -f /var/lib/dirsrv/slapd-
instance_name
/db/userRoot/cn.db4
Example 6.8. Displaying the Index Keys in cn.db4
dbscan -r -f /var/lib/dirsrv/slapd-
instance_name
/db/userRoot/mail.db4
Example 6.9. Displaying the Index Keys and the Count of Entries with the Key in mail.db4
dbscan -r -G 20 -f /var/lib/dirsrv/slapd-
instance_name
/db/userRoot/sn.db4
Example 6.10. Displaying the Index Keys and the All IDs with More Than 20 IDs in sn.db4
dbscan -s -f /var/lib/dirsrv/slapd-
instance_name
/db/userRoot/objectclass.db4
Example 6.11. Displaying the Summary of objectclass.db4
Summary of Contents for 8.1
Page 8: ...viii ...
Page 14: ...xiv ...
Page 16: ...2 ...
Page 250: ...236 ...
Page 334: ...320 ...
Page 372: ...358 ...