Configuring multiple preloading methods
You can configure multiple preloading methods to achieve the benefits of preloading without delaying PingDirectory server startup.
Steps
-
Set
prime-method
topreload-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 after the server has been started with the
cursor-across-indexes
option.Example:
$ 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
-
To apply the changes, restart the PingDirectory server.
-
Run
bin/stop-server
. -
Run
bin/start-server
.
-