PingDirectory

Configuring database preloading

You can configure database preloading to load the database contents from disk into memory when the PingDirectory server starts up.

Steps

  1. 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.

    Example:

    $ bin/dsconfig set-backend-prop \
      --backend-name userRoot \
      --set prime-method:preload
  2. To apply the changes, restart the PingDirectory server.

    1. Run bin/stop-server.

    2. Run bin/start-server.