verify-index-examples.xml revision 73adb2e3dbaa8a9f6448cefccb7933f68c3c7348
5612N/A<?xml version="1.0" encoding="UTF-8"?>
5612N/A<!--
5653N/A ! CDDL HEADER START
5612N/A !
5819N/A ! The contents of this file are subject to the terms of the
5612N/A ! Common Development and Distribution License, Version 1.0 only
5612N/A ! (the "License"). You may not use this file except in compliance
5612N/A ! with the License.
5612N/A !
5819N/A ! You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
5612N/A ! or http://forgerock.org/license/CDDLv1.0.html.
5612N/A ! See the License for the specific language governing permissions
5612N/A ! and limitations under the License.
5612N/A !
5612N/A ! When distributing Covered Code, include this CDDL HEADER in each
5612N/A ! file and include the License file at legal-notices/CDDLv1_0.txt.
5612N/A ! If applicable, add the following below this CDDL HEADER, with the
5612N/A ! fields enclosed by brackets "[]" replaced with your own identifying
5612N/A ! information:
5612N/A ! Portions Copyright [yyyy] [name of copyright owner]
5612N/A !
5612N/A ! CDDL HEADER END
5612N/A !
5612N/A ! Copyright 2015 ForgeRock AS.
5612N/A !
5612N/A-->
5612N/A<refsect1 xmlns="http://docbook.org/ns/docbook"
5612N/A version="5.0" xml:lang="en"
5612N/A xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5612N/A xsi:schemaLocation="http://docbook.org/ns/docbook
5612N/A http://docbook.org/xml/5.0/xsd/docbook.xsd">
5612N/A <title>Examples</title>
5612N/A
5612N/A <para>
5612N/A The following example shows how to verify
5612N/A the <literal>sn</literal> (surname) index for completeness and for errors.
5612N/A The messages shown are for a backend of type <literal>pdb</literal>.
5612N/A </para>
5612N/A
5612N/A <screen>
5612N/A$ <userinput>verify-index -b dc=example,dc=com -i sn --clean --countErrors</userinput>
5612N/A<computeroutput>[20/05/2015:14:24:18 +0200] category=...PDBStorage seq=0 severity=INFO
5612N/A msg=The PDB storage for backend 'userRoot' initialized
5612N/A to use 57528 buffers of 16384 bytes (total 920448kb)
5612N/A[20/05/2015:14:24:18 +0200] category=...pluggable.VerifyJob seq=1 severity=INFO
5612N/A msg=Checked 478 records and found 0 error(s) in 0 seconds
5612N/A (average rate 3594.0/sec)
5612N/A[20/05/2015:14:24:18 +0200] category=...pluggable.VerifyJob seq=2 severity=FINE
5612N/A msg=Number of records referencing more than one entry: 224
5612N/A[20/05/2015:14:24:18 +0200] category=...pluggable.VerifyJob seq=3 severity=FINE
5612N/A msg=Number of records that exceed the entry limit: 0
5612N/A[20/05/2015:14:24:18 +0200] category=...pluggable.VerifyJob seq=4 severity=FINE
5612N/A msg=Average number of entries referenced is 2.00/record
5612N/A[20/05/2015:14:24:18 +0200] category=...pluggable.VerifyJob seq=5 severity=FINE
5612N/A msg=Maximum number of entries referenced by any record is 32</computeroutput>
5612N/A </screen>
5612N/A
5612N/A <para condition="local-db">
5612N/A The following example shows how to verify
5612N/A the <literal>cn</literal> (common name) index for completeness and for errors.
5612N/A The messages shown are for a backend of type <literal>local-db</literal>.
5612N/A </para>
5612N/A
5612N/A <screen condition="local-db">
5612N/A$ <userinput>verify-index -b dc=example,dc=com -i cn --clean --countErrors</userinput>
5612N/A<computeroutput>[07/Jun/2011:16:06:50 +0200] category=BACKEND severity=INFORMATION
5612N/A msgID=9437595 msg=Local DB backend userRoot does not specify the number of
5612N/A lock tables: defaulting to 97
5612N/A[07/Jun/2011:16:06:50 +0200] category=BACKEND severity=INFORMATION
5612N/A msgID=9437594 msg=Local DB backend userRoot does not specify the number of
5612N/A cleaner threads: defaulting to 24 threads
5612N/A[07/Jun/2011:16:06:51 +0200] category=JEB severity=NOTICE msgID=8847461
5612N/A msg=Checked 1316 records and found 0 error(s) in 0 seconds
5612N/A (average rate 2506.7/sec)
5612N/A[07/Jun/2011:16:06:51 +0200] category=JEB severity=INFORMATION
5612N/A msgID=8388710 msg=Number of records referencing more than one entry: 315
5612N/A[07/Jun/2011:16:06:51 +0200] category=JEB severity=INFORMATION
5612N/A msgID=8388711 msg=Number of records that exceed the entry limit: 0
5612N/A[07/Jun/2011:16:06:51 +0200] category=JEB severity=INFORMATION
5612N/A msgID=8388712 msg=Average number of entries referenced is 1.58/record
5612N/A[07/Jun/2011:16:06:51 +0200] category=JEB severity=INFORMATION
5612N/A msgID=8388713 msg=Maximum number of entries referenced by any
5612N/A record is 32</computeroutput>
5612N/A </screen>
5612N/A</refsect1>
5612N/A