oracle_资源观察

上一篇 / 下一篇  2014-12-12 14:40:37 / 个人分类:oracle

资源观察:
发送时长(秒)、发送速率(条/秒)、总发送数、成功数
     select
               t1.column1, t1.column2, t1.column3, t2.column4
       from ((select
                             (max(t.time) - min(t.time)) * 60 * 60 * 24 column1,
                             count(*) / ((max(t.time) - min(t.time)) * 60 * 60 * 24) column2,
                             count(*) column3
                   from t_rule_batchsendsmlog t
                   where smsid = id)
               ) t1,
               (select
                           count(*) column4
                from t_rule_batchsendsmlog t
                where smsid = id
                    and result = 0
               ) t2;

TAG:

 

评分:0

我来说两句

日历

« 2024-04-18  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 31071
  • 日志数: 38
  • 建立时间: 2014-03-21
  • 更新时间: 2015-04-28

RSS订阅

Open Toolbar