对dbfsize输出的解释

[oracle@rhel63single test]$ which dbfsize
/u02/app/oracle/product/11.2.0.4/db_1/bin/dbfsize
[oracle@rhel63single test]$ 
[oracle@rhel63single test]$ 
[oracle@rhel63single test]$ 
[oracle@rhel63single test]$ dbfsize control01.ctl 

Database file: control01.ctl
Database file type: file system
Database file size: 594 16384 byte blocks
[oracle@rhel63single test]$ ll control01.ctl 
-rw-r-----. 1 oracle oinstall 9748480 Jan  9 04:42 control01.ctl
对control01.ctl计算如下:  9748480-16384*594=16384, 也就是说 os命令显示的control01.ctl 大小要比 oracle层面“认为”的 control01.ctl大小要 多 一个 16384 byte
 

[oracle@rhel63single test]$ dbfsize redo01.log 

Database file: redo01.log
Database file type: file system
Database file size: 102400 512 byte blocks
[oracle@rhel63single test]$ 
[oracle@rhel63single test]$ ll redo01.log 
-rw-r-----. 1 oracle oinstall 52429312 Jan  9 04:42 redo01.log
对redo01.log计算如下:  52429312-512*102400 =512,也就是说 os命令显示的redo01.log 大小要比 oracle层面“认为”的 redo01.log大小要 多 一个 512 byte

 
[oracle@rhel63single test]$ dbfsize users01.dbf 

Database file: users01.dbf
Database file type: file system
Database file size: 960 8192 byte blocks
[oracle@rhel63single test]$ 
[oracle@rhel63single test]$ ll users01.dbf 
-rw-r-----. 1 oracle oinstall 7872512 Jan  9 03:15 users01.dbf
对users01.dbf计算如下:  7872512-8192*960 =8192,也就是说 os命令显示的users01.dbf大小要比 oracle层面“认为”的 users01.dbf大小要 多 一个 8192 byte


 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值