求informix 查询表使用多少次数的语句
如题,谢谢回复 #1 liuq1224 的帖子
表使用次数?? 对,因为我要查出这个次数才知道要给哪些表做优化 以下SQL是表的读写情况...select a.dbsname, b.tabname, sum(isreads + pagreads) diskreads,
sum(iswrites + pagwrites) diskwrites
from sysmaster:sysptprof a, systables b
where a.dbsname = "<DATABASE>"
and a.tabname = b.tabname
and b.tabid > 100
group by 1,2
order by 3 desc,4 desc;
页:
[1]