|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
6 r, I3 ~$ u* T* |9 t8 {6 x8 I2 X; o
Shared_Memory_Best_Practices_Guide_V1.0
+ X6 [& |. b+ X/ Y7 ]; X, m( ]
% a" v5 N6 O* ], l/ p5 O+ }! W
* A* J+ |; A' J" V8 A3 Z9 R8 B3 X7 P- [
& D; G; o; _ D1 n8 |+ _
Disable Shared Memory and RAC Metadata Cache
7 u5 E# A4 n( w0 K3 e0 \If the shared memory population fails, or if a runtime error is suspected to be related to shared memory, you can ( O2 Q6 F$ Z. t" G
disable shared memory functionality and set Teamcenter process back to its in-process memory mode by setting the
! I& a" ^4 I1 q* gfollowing env variables at server machines except for TC_SKIP_CLIENT_CACHE
7 I1 p! i" @0 `0 H8 N5 U* l# y
: M4 @ y) [" k1. TC_NO_TEXTSRV_SHARED_MEMORY : H7 ^! w7 i. \9 l+ `+ d) l' F7 M
Set it to TRUE to disable shared memory for text server data. % b% J: l3 q% s% y/ d! K
, ~. @. N% b* e1 kIn Teamcenter release 11.2, , v1 T1 I* y1 F& i
TC_USE_TEXTSRV_SHARED_MEMORY E0 m& _& Y( O: t
Set it to FALSE to disable shared memory for text server data.
1 Q' g, m* Z: V. w0 N5 i& i5 T/ l+ j7 K
2. TC_USE_PREFS_SHARED_MEMORY ; A' B- b) C; v+ R8 u! ?8 R
Set it to FALSE to disable shared memory for site preference data
* M' `( T' S; ?- M% C! x
6 w- N8 B k3 q7 @4 h3. TC_USE_LOV_SHARED_MEMORY 1 t( d+ C8 t9 m* x/ h f
Set it to FALSE to disable shared memory for localized LOV data
' q' H; \2 b/ J8 C' e* {" M6 |- Y. B$ O$ V5 z# |
4. TC_USE_METADATA_SHARED_MEMORY
# Z; Q( _) R+ B! {/ s" qSet it to FALSE to disable shared memory for metadata
' b S) w' d4 [7 n; \7 U! Z& s" o GIf no metadata cache is pre-generated, the system will also disable shared memory for metadata. Therefore, # O5 a: M0 M k8 M% `1 N9 W
to disable shared memory for metadata, you may run the utility: generate_metadata_cache –delete to delete
5 x0 _( x0 ^4 b/ O9 u3 O7 Xthe metadata cache. 3 ~; r& r0 T7 n' P) ?! Q. }
; A6 x1 C5 J4 W7 U; L' P$ @
5. TC_SKIP_CLIENT_CACHE 4 G. o3 @' M# X: x" k2 b
At RAC machine, set TC_SKIP_CLIENT_CACHE=TRUE to turn off Client Metadata Cache for RAC so that - ?- g" C+ l, c1 j1 D! E" f; w
RAC will always retrieve metadata from server.
; S' U( C% X, J+ G J \( G" n6 x
. ?% D. l+ G& R' F. Z$ D6 i3 m |
|