home‎ > ‎utilities‎ > ‎

infx dbspace

:List information about the storage spaces in the instance

usage

infx dbspace [ order class space pg flags ]
  optional
    order - change output order
    class - onnly show specific class
    space - only show with matching name
    pg - only show with matching page size
    flags - only show with matching flags

example

demo1@bobii:/home/informix>infx dbspace

class  space    pg  flags             chks  size mb  free mb  used mb   used%  read mb  write mb  L0
good   root     2k  OK AUTO              2   225.00   208.63    16.37   7.27%     0.02      1.02  2012-02-19 16:49
good   plog     2k  OK AUTO              1   100.00     4.89    95.11  95.11%     0.00      0.45  2012-02-19 16:49
good   log01    2k  OK AUTO              1   100.00     0.89    99.11  99.11%     0.00      0.00  2012-02-19 16:49
good   log02    2k  OK AUTO              1   100.00     0.89    99.11  99.11%     0.00      0.78  2012-02-19 16:49
good   dat01    2k  OK AUTO              1   100.00    27.48    72.52  72.52%     0.00      0.00  2012-02-19 16:49
good   dat02    2k  OK AUTO              1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   dat03    2k  OK AUTO              1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   dat04    2k  OK AUTO              1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   idx01    2k  OK AUTO              1   100.00    41.26    58.74  58.74%     0.00      0.00  2012-02-19 16:49
good   idx02    2k  OK AUTO              1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   idx03    2k  OK AUTO              1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   idx04    2k  OK AUTO              1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   tmp01    2k  OK TMP,AUTO          1    25.00    24.89     0.11   0.42%     0.00      0.08  never
good   tmp02    2k  OK TMP,AUTO          1    25.00    24.89     0.11   0.42%     0.00      0.12  never
good   ltmp01   2k  OK AUTO              1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   blob01   8k  OK BLBSPACE,AUTO     1    25.00    24.97     0.03   0.13%     0.01      0.00  2012-02-19 16:49
good   sblob01  2k  OK SBSPACE,AUTO      3    65.00    48.15    16.85  25.92%     0.01      0.00  2012-02-19 16:49

Only show with name matching "dat"

demo1@bobii:/home/informix>infx dbspace space=dat

class  space  pg  flags    chks  size mb  free mb  used mb   used%  read mb  write mb  L0
good   dat01  2k  OK AUTO     1   100.00    27.48    72.52  72.52%     0.00      0.00  2012-02-19 16:49
good   dat02  2k  OK AUTO     1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   dat03  2k  OK AUTO     1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49
good   dat04  2k  OK AUTO     1    25.00    24.89     0.11   0.42%     0.00      0.00  2012-02-19 16:49

Only show smart blob spaces

demo1@bobii:/home/informix>infx dbspace flags=sbspace

class  space    pg  flags            chks  size mb  free mb  used mb   used%  read mb  write mb  L0
good   sblob01  2k  OK SBSPACE,AUTO     3    65.00    48.15    16.85  25.92%     0.01      0.00  2012-02-19 16:49

notes

  • output format defined in /infx/template/infx-cli/infx-cli-dbspace.htmlt, copy to /infx/local/etc and change there
  • see space  for the list of what information is available
  • see to sub-infx-alert.ini for warning and error thresholds