1. Set the prime method to "preload" to load the database contents from disk into memory when the server starts up. 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
  2. Re-start the Directory Server to apply the changes using bin/stop-server and then, bin/start-server.