onstat -u 所看到的session状态问题
本帖最后由 Hendane 于 2011-01-05 18:01 编辑用onstat -u看用户session状态,如下:
使用者處理線串
位址 旗標 sessid 使用者 tty 等待 tout 鎖定 nreads nwrites
C000000185d892a0 ---PR--15281780HF0000 168 0 0 3 3368662 83222
c000000178959058Y--P---15271918Y57489 155 c0000001709523e0 0 3 27 2
c00000017896e150---PR--15289642F27297 55 0 0 3 1717326 109241
请问:Y--P--- 和 ---PR--是什么意思? 书上说的是Y:正在等待条件,P:主线程,R:正在读取。
有些时候又只有 ---P---这种状态。
有没有通俗一点的解释,搞不清楚究竟是个什么状态?谢谢! 回复 1# Hendane
帮顶:em17: Position 1:
B Waiting on a buffer
C Waiting on a checkpoint
G Waiting on write of the Logical Log buffer
L Waiting on a lock
S Waiting on a mutex
T Waiting on a transaction
X Waiting on a transaction cleanup
Y Waiting on a condition
Position 3:
A DBSpace backup thread
B Begin work
P Preparing/prepared
X XA prepare
C Commiting/committed
R Aborting/aborted
H Heuristic aborting/aborted
Position 4:
P Primary thread for a session
Position 5:
R Reading (RSAM Call)
X Critical Write
Position 7:
B BTree clean thread
C Terminated user thread waiting for cleanup
D Daemon thread
F Page cleaner thread (flusher)
M On-Monitor thread
页:
[1]