GBase 8s
运维管理
文章

部分系统性能表的介绍

GBase社区管理员
发表于2023-05-16 09:27:2767次浏览0个评论

在sysmaster数据库中有若干性能表记录了数据库的性能信息,大致可以提供的有:

sysptprof表:

dbsname:tabname:partnum

lockreqs、lockwts、lktouts、deadlks、

isreads、iswrites、isrewrites、isdeletes、bufreads、bufwrites、seqscans、pagreads、pagwrites

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

sysptnhdr表:

rowsize   行长

nextns     该partition中extents的数量

pagesize  页面大小

created    创建时间

serialv     当前serial的值

fextsiz     first extent size(包含的基础页面数),大小=基础页面数*基础页面大小;oncheck -pt中是页面数*当前页面大小(不是基础页面大小);

nextsiz   next extent size(包含的基础页面数);

nptotal    分配的页面数(非基础页面大小的页面数);

npused   使用的页面数(非基础页面大小的页面数);

npdata    数据页面数(非基础页面大小的页面数);

nrows    包含的数据行数;

ninserts   insert的行数;

nupdates  update的行数;

ndeletes   delete的行数;

cur_serial8  当前的serial8的值;

cur_bigserial  当前的bigserail的值;

dbsnum         dbspaces number;

glscollname    该表的字符集,意义不大,因为informix不能像mysql那样给每个表定义不同的字符集;

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

syschunks表:

chknum:chunk的number

dbsnum:对应的dbs的number

pagesize:对应的dbs的pagesize

chksize:基础页面数

nfree:空闲的基础页面数

is_extendable:是否自动扩展

fname:chunk的绝对路径

is_inconsistent:chunk文件的一致性;

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

syschktab表:

前面的部分列和syschunks基本一致,后面的部分列描述了chunk文件的IO性能。

reads:读取的次数;

writes:写入的次数;

pagesread:读取的页面数;

pageswritten:写入的页面数;

readtime:读取的时间;

writetime:写入的时间;

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

sysfeatures表

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

syssqlhosts表

select      dbsvrnm dbservername,nettype,hostname,svcname servicename    from syssqlhosts

评论已关闭