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.
Table 6.2 5. Index File Opt ions
Option Pa ramet er Descript ion
-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 4 0 to 104 8576 bytes.
The default value is 4 096.
-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.
Exa mples
The following are command-line examples of different situations using dbscan to examine the Directory
Server databases.
Exa mple 6.7. Dumping t he Entry File
dbscan -f /var/lib/dirsrv/slapd-instance_name/db/userRoot/id2entry.db4
Exa mple 6.8. Displaying t he Index Keys in cn.db4
dbscan -f /var/lib/dirsrv/slapd-instance_name/db/userRoot/cn.db4
Exa mple 6.9. Displaying t he Index Keys and the Count of Entries with the Key in mail.db4
dbscan -r -f /var/lib/dirsrv/slapd-instance_name/db/userRoot/mail.db4
Exa mple 6.10. Displaying t he Index Keys and the All IDs with More T han 20 IDs in sn.db4
dbscan -r -G 20 -f /var/lib/dirsrv/slapd-instance_name/db/userRoot/sn.db4
Exa mple 6.11. Displaying t he Summary of object class.db4
dbscan -s -f /var/lib/dirsrv/slapd-instance_name/db/userRoot/objectclass.db4
Exa mple 6.12. Displaying VLV Inde x File Cont ents
dbscan -r -f
/var/lib/dirsrv/slapd-instance_name/db/userRoot/vlv#bym ccoupeopledcpeopledccom.
db4
Komentáře k této Příručce