Delete or Regenerate Server Meta Data Cache and Client Meta Data Cache

Use at your own risk!

Use on server in a TC-Command Shell.
Use this only if necessary (and in system – downtime)

# Server Metacache
Generates the metadata shared server cache.
Enabale (default): TC_USE_METADATA_SHARED_MEMORY=true
Folder Location is defined in: TC_SHARED_MEMORY_DIR

:: delete
generate_metadata_cache -u=infodba -p=infodba -g=dba -delete

:: create
generate_metadata_cache -u=infodba -p=infodba -g=dba -force

# Client Metacache
Generates the shared client metadata cache.
This is a group of datasets in the TC database that are organized within the ClientCache folder under TC infodba’s home folder.
To skip the RAC with clientcache, you can set this variable to true: TC_SKIP_CLIENT_CACHE

:: OLD client tool (deprecated from TC13.2)

:: delete
generate_client_meta_cache -u=infodba -p=xxx -g=dba -t delete all

:: create
generate_client_meta_cache -u=infodba -p=infodba -g=dba -t generate all

:: ———————————————————————————————–

:: NEW client tool (from TC13.2)
Hint: There are a few bugs in TC13.3. It you have problems with NX or other, use the old tool.

:: delete
bmide_generate_client_cache -u=infodba -p=infodba -g=dba -mode=delete -cache=all

:: create
bmide_generate_client_cache -u=infodba -p=infodba -g=dba -mode=generate -cache=all -model_file=%TC_DATA%/model/model.xml -target_dir=%TC_DATA%/clientcache