Chinaunix

标题: 我的logdbs是不是有问题 [打印本页]

作者: a441554665    时间: 2007-08-13 17:49
标题: 我的logdbs是不是有问题
大家帮忙看下我的logdbs大小的问题

用onstat -d
address  chk/dbs offset   size     free     bpages   flags pathname

830545d8 5   5   500001   500000   9947              PO-   /dev/rlogdbse

用onstat -l

Logical Logging
Buffer bufused  bufsize  numrecs  numpages numwrits recs/pages pages/io
  L-2  0        64       1        1        1        1.0        1.0     
        Subsystem    numrecs  Log Space used
        OLDRSAM      1        32            

address  number   flags    uniqid   begin        size     used    %used
82253c30 17       U-B----  17       400035      50000        2     0.00
82253c4c 18       U---C-L  18       40c385      50000       37     0.07
82253c68 19       F------  0        4186d5      50000        0     0.00
82253c84 20       F------  0        424a25      50000        0     0.00
82253ca0 21       F------  0        430d75      50000        0     0.00
82253cbc 22       F------  0        43d0c5      50000        0     0.00
82253cd8 23       F------  0        449415      50000        0     0.00
82253cf4 24       F------  0        455765      50000        0     0.00
82253d10 25       F------  0        461ab5      50000        0     0.00


用onstat -d时说我logdbs free 为9947 ,而onstat -l 时.看得出是基本没怎么用的.这是咋回事啊..
作者: liaosnet    时间: 2007-08-14 09:25
loglog是你分配了日誌空間就占用多少的~~~~~~~
作者: a441554665    时间: 2007-08-14 10:28
不是很明白......
作者: czw1413_cn    时间: 2007-08-14 13:22
提示: 作者被禁止或删除 内容自动屏蔽
作者: a441554665    时间: 2007-08-14 16:49
是这样的. 由于硬盘大小的关系.我把/dev/rlogdbse  分做了logdbs 和 phydbs
分法如下:
onspaces -c -d logdbs -o 0 -p /dev/rlogdbse -s 1000000

onspaces -c -d phydbs -o 1000002 -p /dev/rlogdbse -s 1000000




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2