You can configure database preloading to load the database contents from disk into
memory when the PingDirectory server starts up.
-
Configure database preloading.
This eliminates the need for the server to gradually prime the database cache
using client traffic and ensures that the server has optimal performance when it
starts to receive client connections.
$ bin/dsconfig set-backend-prop \
--backend-name userRoot \
--set prime-method:preload
-
To apply the changes, restart the PingDirectory server.
-
Run bin/stop-server.
-
Run bin/start-server.