登录 注册
当前位置:主页 > 资源下载 > 50 > 展示上一张Linux 6系统中Sybase 15.7的热点表安装及服务创建步骤

展示上一张Linux 6系统中Sybase 15.7的热点表安装及服务创建步骤

  • 更新:2024-07-08 19:49:26
  • 大小:7.9MB
  • 推荐:★★★★★
  • 来源:网友上传分享
  • 类别:Sybase - 数据库
  • 格式:PPT

资源介绍

显示前30张热点表 select top 30 ObjectName, PhysicalWrites, UsedCount from master..monOpenObjectActivity where DBID=db_id('hblt_oltp') and IndexID=0 Order by PhysicalWrites desc 显示前30张热点表中未使用的索引 select top 30 ObjectID into #t1 from master..monOpenObjectActivity where DBID=db_id('hblt_oltp') and IndexID=0 Order by PhysicalWrites desc use hblt_oltp select convert(varchar,object_name(ObjectID )), convert(varchar,ObjectName) from master..monOpenObjectActivity where DBID=db_id('hblt_oltp') and IndexID!=0 and UsedCount=0 And ObjectID in ( select ObjectID from #t1 ) drop table #t1