立即注册

2PLM

查看: 765|回复: 0

[已解决] 客户端缓存更新

[复制链接]
发表于 2024-5-23 17:15:23 | 显示全部楼层 |阅读模式
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

回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 立即注册

小黑屋|手机版|Archiver| PLM的星空

GMT+8, 2025-4-4 14:52 , Processed in 0.078712 second(s), 17 queries .

PLM产品部技术团队 X3.4

© 2018-2023粤ICP备2021011559号粤公网安备 44060402002077号

快速回复 返回顶部 返回列表