v$session.status 和 v$process.backup 了解

来源:互联网 发布:网上开店软件排名 编辑:程序博客网 时间:2024/06/05 11:39

v$session.status 
STATUSVARCHAR2(8)Status of the session:

  • ACTIVE - Session currently executing SQL-----表示当前回话正在执行sql

  • INACTIVE

  • KILLED - Session marked to be killed

  • CACHED - Session temporarily cached for use by Oracle*XA

  • SNIPED - Session inactive, waiting on the client



v$process.background

BACKGROUNDVARCHAR2(1)1 for a background process; NULL for a normal process1 -->oracle 的后台进程

null --》 客户端server 进程 ,及一些salve 进程(S000,D000,J000,P000)

P000 -->parallel query slaves

D000 -->dispatchers

S000 --> shared servers 

J000 -->job queue slave processes 

0 0