oracle管理员日常工作中必备sql列表.docVIP

  • 4
  • 0
  • 约1.75万字
  • 约 13页
  • 2018-09-16 发布于浙江
  • 举报
oracle管理员日常工作中必备sql列表

数据库管理员日常工作中必备的sql列表   --监控索引是否使用   alter index index_name monitoring usage;   alter index index_name nomonitoring usage;   select * from v$object_usage where index_name = index_name;   --求数据文件的I/O分布   select df.name,phyrds,phywrts,phyblkrd,phyblkwrt,singleblkrds,readtim,writetim   from v$filestat fs,v$dbfile df   where fs.file#=df.file# order by df.name;   --求某个隐藏参数的值   col ksppinm format a54   col ksppstvl format a54   select ksppinm, ksppstvl   from x$ksppi pi, x$ksppcv cv   where cv.indx=pi.indx and pi.ksppinm like \_% escape \ and pi.ksppinm like %meer%;   --求系统中较大的latch   select name,sum(

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档