Forwarded to the Dev list. -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
--- Begin Message ---I am using ApachDS 1.0.2 right now. I am using the preference API with rfc2254 filters to search on to the database. Testing on WindowsXP machine and apacheDS is running on Win2003 server. Using Java "1.6.0_01". My server.xml looks like, ====================================== <property name="indexedAttributes"> <set> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="uid" /> <property name="cacheSize" value="100" /> </bean> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="sn" /> <property name="cacheSize" value="100" /> </bean> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="gn" /> <property name="cacheSize" value="100" /> </bean> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="cn" /> <property name="cacheSize" value="100" /> </bean> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="objectclass" /> <property name="cacheSize" value="100" /> </bean> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="prefkey" /> <property name="cacheSize" value="100" /> </bean> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="telephonenumber" /> <property name="cacheSize" value="100" /> </bean> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="primaryextention" /> <property name="cacheSize" value="100" /> </bean> <bean class="org.apache.directory.server.core.partition.impl.btree.MutableInde xConfiguration"> <property name="attributeId" value="mobilenumber" /> <property name="cacheSize" value="100" /> </bean> </set> </property> =========================================== Thanks in adavance to your help. Thanks and Regards, Siva kumar. -----Original Message----- From: Stefan Zoerner [mailto:[EMAIL PROTECTED] Sent: 24 January 2008 15:15 To: [EMAIL PROTECTED] Subject: Re: Searching takes unrealistic time. Siva Kumar wrote: > We are using OpenLDAP currently and attempting to move to ApacheDS. > > With 40K entries on my persons tree, my preferences api lookup > takes enormous amount time. I have all the main attributes added on > the index configuration on the server.xml. > > Could anyone help.? > > How would I be able to work it out if my index configuration is > really working? > > Why my search takes this longer? Compared to same entries on > OpenLDAP its look unrealistic) > > Any optimization tips? > > Thanks in advance to any help. Which version of ApacheDS do you use? Some hints on the execution environment (OS, JVM) would be helpful as well. Greetings, Stefan
--- End Message ---
