• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 814
  • Last Modified:

Sun ONE Directory server database caching problem

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...
0
shadowrise
Asked:
shadowrise
1 Solution
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now