v$process 性能视图,查看 oracle数据库 当前服务进程情况

v$process 性能视图,查看 oracle数据库 当前服务进程情况

v$process 视图,作用: v$process视图包含当前系统oracle运行的所有进程信息,没有客户端程序相关的信息。
常被用于将oracle或服务进程的操作系统进程ID与数据库session之间建立联系。

select * from v$process;

字段说明如下

ColumnDatatypeDescription
ADDR`RAW(48)`
PIDNUMBEROracle process identifier Oracle进程ID
SOSIDVARCHAR2(24)Operating system (process, thread) identifier. 操作系统(进程、线程)标识符
This identifier is unique whether the Oracle multiprocess/multithread feature is enabled or not.无论是否启用 Oracle 多进程/多线程特性,此标识符都是唯一的。
SPIDVARCHAR2(24)Operating system process identifier. 操作系统进程ID
The Oracle multiprocess/multithread feature is available for UNIX systems.Oracle 多进程/多线程特性可用于 UNIX 系统。
When the Oracle multiprocess/multithread feature is enabled, RDBMS processes are mapped to threads running in operating system processes, and the SPID identifier is not unique for RDBMS processes.当启用 Oracle 多进程/多线程特性时,RDBMS 进程被映射到在操作系统进程中运行的线程,而且 SPID 标识符对于 RDBMS 进程并不唯一。
When the Oracle multiprocess/multithread feature is not enabled on UNIX systems, the SPID identifier is unique for RDBMS processes.在 UNIX 系统上未启用 Oracle 多进程/多线程特性时,SPID 标识符对于 RDBMS 进程是唯一的。
STIDVARCHAR2(24)Operating system thread identifier. 操作系统线程标识符
The Oracle multiprocess/multithread feature is available for UNIX systems.Oracle 多进程/多线程特性可用于 UNIX 系统。
When the Oracle multiprocess/multithread feature is enabled, RDBMS processes are mapped to threads running in operating system processes, and the SPID and STID together uniquely identify an RDBMS process.当 Oracle 多进程/多线程特性被启用时,RDBMS 进程被映射到在操作系统进程中运行的线程,并且 SPID 和 STID 一起唯一地标识一个 RDBMS 进程。
The STID is not unique on Solaris. The STID is unique on Linux and AIX.STID 在 Solaris 上并非唯一的,而是在 Linux 和 AIX 上唯一的。
EXECUTION_TYPEVARCHAR2(10)Operating system execution type 操作系统执行类型
PNAMEVARCHAR2(5)Name of this process 此进程的名称
USERNAMEVARCHAR2(15)Operating system process username 操作系统进程用户名
SERIAL#NUMBERProcess serial number 工艺序列号
TERMINALVARCHAR2(30)Operating system terminal identifier 操作系统终端标识符
PROGRAMVARCHAR2(48)Program in progress 程序正在进行中
TRACEIDVARCHAR2(255)Trace file identifier 跟踪文件标识符
TRACEFILEVARCHAR2(513)Trace file name of the process 进程的跟踪文件名
BACKGROUNDVARCHAR2(1)1 for a background process; NULL for a normal process 对于后台进程; 对于正常进程为 NULL
LATCHWAITVARCHAR2(16)Address of the latch the process is waiting for; NULL if none 进程正在等待的锁存器的地址; 如果没有,则为 NULL
LATCHSPINVARCHAR2(16)This column is obsolete 这个专栏已经过时了
PGA_USED_MEMNUMBERPGA memory currently used by the process (in bytes) 当前进程使用的 PGA 内存(以字节为单位)
PGA_ALLOC_MEMNUMBERPGA memory currently allocated by the process (including free PGA memory not yet released to the operating system by the server process), in bytes 当前由进程分配的 PGA 内存(包括尚未由服务器进程释放到操作系统的空闲 PGA 内存) ,以字节为单位
PGA_FREEABLE_MEMNUMBERAllocated PGA memory which can be freed (in bytes) 分配的 PGA 内存可以释放(以字节为单位)
PGA_MAX_MEMNUMBERMaximum PGA memory ever allocated by the process (in bytes) 进程分配的最大 PGA 内存(以字节为单位)
CON_IDNUMBERThe ID of the container to which the data pertains. Possible values include: 数据所属容器的 ID。可能的值包括:
0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.0: 此值用于包含属于整个 CDB 的数据的行。此值也用于非 CDB 中的行。
1: This value is used for rows containing data that pertain to only the root1: 此值用于包含仅属于根的数据的行n: Where n is the applicable container ID for the rows containing dataN: 其中 n 是包含数据的行的适用容器 ID select count(*) from v$session;
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值