onstat -g ppf 命令:打印分区的概要文件

可以使用 onstat -g ppf partition_number 命令显示指定分区号的分区概要文件。

使用 onstat -g ppfonstat -g ppf 0 命令显示所有分区的概要文件。如果 TBLSPACE_STATS 配置参数设置为 0 ,那么 onstat -g ppf 命令显示:Partition profiles disabled

有关 onstat -g ppf 命令的更多信息,请参阅 GBase 8s 性能指南

语法:

示例输出

图: onstat -g ppf 命令输出

Partition profiles
        partnum    lkrqs lkwts dlks  touts isrd  iswrt isrwt isdel bfrd  bfwrt seqsc rhitratio
        0x100001   0     0     0     0     0     0     0     0     0     0     0     0 
        0x100002   1506  0     0     0     416   4     0     4     1282  20    0     97
        0x100003   15    0     0     0     5     0     0     0     20    0     0     75
        0x1000a5   0     0     0     0     0     0     0     0     12    0     0     67
        0x1000e3   4     0     0     0     1     0     0     0     4     0     0     25
        0x200001   0     0     0     0     0     0     0     0     0     0     0     0
        0x300001   0     0     0     0     0     0     0     0     0     0     0     0
        0x400001   0     0     0     0     0     0     0     0     0     0     0     0  

输出描述

partnum (hex)
分区号
lkrqs (decimal)
请求分区的锁的数量
lkwts (decimal)
等待分区的锁的数量
dlks (decimal)
分区的死锁数
touts(decimal)
分区的远程死锁超时
isrd (decimal)
分区的读取数
iswrt (decimal)
分区的写入数
isrwt (decimal)
分区的重写或修改数
isdel (decimal)
分区的删除数
bfrd (decimal)
缓冲区的读取数,以页表示
bfwrt (decimal)
缓冲区的写入数,以页表示
seqsc (decimal)
分区的顺序扫描数
rhitratio (percentage)
磁盘读和缓冲区读的比率