1. To achieve the benefits of preloading without delaying server startup, prime-method can be set to preload-internal-nodes-only, which caches all of the keys within the database but not the values. The database values themselves can be cached in the background once the server has been started with the cursor-across-indexes option.
    $ bin/dsconfig set-backend-prop \
      --backend-name userRoot \
      --add prime-method:preload-internal-nodes-only \
      --add prime-method:cursor-across-indexes \
      --set background-prime:true
                        
  2. Re-start the Directory Server to apply the changes using bin/stop-server and then, bin/start-server.