directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
Subject Re: Searching takes unrealistic time.
Date Thu, 24 Jan 2008 16:05:39 GMT
Siva Kumar wrote:
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableInde
> xConfiguration">
>           <property name="attributeId" value="uid" />
>           <property name="cacheSize" value="100" />
>   
Considering you are using the uid attribute, with 40 000 entries in your 
base, the current cacheSize will hold 0,25% of the existing uid. That 
means you are roughly doing a disk access each time you search for an entry.

Increase the cacheSize for each attribute your filters are using. Here, 
40 000 will be ok.

Be aware that you may have to increase the JVM memory size to avoid OOM 
exception too...

Hope it helps

-- 
--
cordialement, regards,
Emmanuel L├ęcharny
www.iktek.com
directory.apache.org



Mime
View raw message