trssc 发表于 2018-9-26 11:26:52

Oracle内部latch获取函数简介


SQL> descx$kslwsc;
Name                                                                        Null?    Type  
----------------------------------------------------------------------------- -------- ----------------------------------------------------
  
ADDR                                                                                 RAW(8)
  
INDX                                                                                 NUMBER
  
INST_ID                                                                              NUMBER
  
KSLNOWTF                                                                               NUMBER
  
KSLSLEEP                                                                               NUMBER
  
KSLWSCWSL                                                                              NUMBER
  
KSLWSCLTHG                                                                           NUMBER

KSLLASNAM                                                                              VARCHAR2(50)    

  


why参数的在dump出来的结果中描述是“Context saved from call”,例如:  

SO: 0x2d93be720, type: 2, owner: (nil), flag: INIT/-/-/0x00  (process) Oracle pid=299, calls cur/top: 0x2e9028a38/0x2e9028a38, flag: (0)
  …
  (latch info) wait_event=0 bits=2
  holding   2dee1ac50 Child cache buffers chains level=1 child#=124200
  Location from where latch is held: kcbgtcr: fast path:
  Context saved from call: 39022946
  




页: [1]
查看完整版本: Oracle内部latch获取函数简介