Skip to main content

loaduccache

The loaduccache program caches user classes and user class points for single participants. The program is run automatically at the end of auto discovery to load user class and user class point cache for any expired caches (loaduccache -load -expired).

In a replicated environment, cache recalculation can only be performed on the instance which runs psupdate .

Usage
loaduccache.exe -clearall | -list | -listuc | -listucp | -load [-expired | -hours <hours> | -ucp <pointid> <category> <phase> | -userclass <user class> ] | -clear [-expired | -hours <hours> | -ucp <pointid> <category> <phase> | -userclass <user class>]

Argument

Description

-clearall

Completely clear the cache

-list

List the cache validity for all user classes and user class points that were cached at least once

-listuc

List all user classes available for caching

-listucp

List all user class points available for caching

-load

Load the cache for user classes and/or user class points given load criteria

-clear

Clear the cache for user classes and/or user class points given the clearing criteria

-threads

Use this many threads to recalculate user class caches. The default thread number is 4.

-expired

Load/Clear user classes and user class points whose cache is expired (based on the value set for USERCLASS CACHE EXPIRY). When used with -load, loaduccache also loads invalidated or cleared user classes and user class points.

-hours <hours>

Load/Clear user classes and user class points whose cache is older than the hours specified.

-ucp <pointid> <category> <phase>

Load/Clear the specified user class point cache.

-userclass <user class>

Load/Clear the specified user class cache.

When a load argument is used for a user class, user class points already cached are also recalculated.

Examples
  1. To load all user classes and user class points:

    loaduccache.exe -load -hours 0
  2. To load all user classes and user class points with 6 threads:

    loaduccache.exe -load -hours 0 -threads 6
  3. To clear all user classes and user class points:

    loaduccache.exe -clearall
  4. To load a user class:

    loaduccache.exe -load -userclass HQUSERS
  5. To load a user class point:

    loaduccache.exe -load -ucp USERGROUP HQGROUP 1
  6. To list cached user classes and user class points:

    loaduccache.exe -list