查看当前redo logfile文件使用率

set linesize 200 pagesize 1400;

select le.leseq "Current log sequence No",

           100 * cp.cpodr_bno / le.lesiz "Percent Full",

           (cpodr_bno - 1) * 512  "bytes used exclude header",

           le.lesiz * 512 - cpodr_bno * 512 "Left space",

           le.lesiz  *512       "logfile size"

              from x$kcccp cp, x$kccle le

             where LE.leseq = CP.cpodr_seq

             and bitand(le.leflg, 24) = 8;

 

Current log sequence No Percent Full bytes used exclude header Left space logfile size

----------------------- ------------ ------------------------- ---------- ------------

                    539   81.5224609                  42740736    9687552     52428800

 

如上结果显示当前重做日志号为539,使用量百分比是90.7%
当前日志被使用到了 42740736+512 bytes(重做日志文件头)的位置,
还剩余 9687552bytes的空间,该重做日志的总大小为52428800;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值