Enabling OUD Entry Cache for large static groups
Posted
by Sylvain Duloutre
on Oracle Blogs
See other posts from Oracle Blogs
or by Sylvain Duloutre
Published on Thu, 29 Nov 2012 10:57:16 +0000
Indexed on
2012/11/29
17:12 UTC
Read the original article
Hit count: 801
/Oracle Unified Directory Services (OUD)
Oracle Unified Directory can take advantage of several caches to improve performances. especially the so-called database cache and the file system cache. In addition to that, it is possible to use an entry cache to cache LDAP entries. By default, the entry cache is not used. In specific deployements involving large static groups, it may worth loading the group entries to the entry cache to speed up group membership and group-based aci evaluation.
To do so, run the following commands:
First, specify which entries should reside in the entry cache. In the commad below, only entries matching the LDAP filter " (|(objctclass=groupOfNames)(objectclass=groupOfUniqueNames))
" will be stored in the entry cache.
dsconfig set-entry-cache-prop \
--cache-name FIFO \
--add
include-filter:\(\|\(objctclass=groupOfNames\)\(objectclass=groupOfUniqueNames\)\)
--port <ADMIN_PORT> \
--bindDN cn=Directory\ Manager \
--bindPassword ****** \
--no-prompt
Then enable the entry cache:
In addition to that, you can control how much memory the entry cache can use:
You can change the max-entries amd max-memory-percent properties to control the entry cache size using the dsconfig set-entry-cache-prop command.
© Oracle Blogs or respective owner