Sun ONE Directory server database caching problem

Posted on 2007-10-10
Last Modified: 2013-12-27
We are using Sun ONE Directory Server.

I have a system configured that uses a program called PADL to query LDAP data from the LDAP server, and convert the information into NIS maps.

The problem that I am having, is that when I query big maps, such as mail.byaddr which has about 8,000 entries, it takes a long time to get the data from the LDAP server.

From what I can see... The LDAP server seems to be doing some kind of serial read through the database, and fetching every single record each time I do the query.

So, my question is...  How can I configure my Sun ONE Directory server to cache everything into memory so that it will not have to read the data from disk each time I do a query?

I have already added indexes for each attribute that I can find to be necessary for my queries, as well as created vlv indexes, but they don't seem to speed things up at all...
Question by:shadowrise
    LVL 38

    Accepted Solution

    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    The problems with reply email signatures

    Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

    Join & Write a Comment

    If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
    PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now