optimal block size?

ell
2008-03-05
2012-12-29
  • ell
    ell
    2008-03-05

    Hi baskar and others all

    the max zbitstr is about 250,000
    it about 32k I checked in $L

    this cause an error on ^GLOB settings of record-size error , that is about 4k

    B=$zbitstr(250000,0)
    myGlobl(key)=B
    what I have to do ?
    to increase the blocksize,recordsize to about 32,000 ?

    otherwise the zbitstr will not work

     
    • K.S. Bhaskar
      K.S. Bhaskar
      2008-03-05

      In GT.M, a global variable must fit within a database block.  In the GT.M V5 database format, each block has an overhead of 16 bytes, so the global variable node, including variable name and subscripts, must fit within the block.

      Remember that database block sizes are immutable once a database file is created.  Therefore, you will need to define a bigger block size in the global directory file that mupip create will use to create a new database file with a sufficiently large block size.

      Regards
      -- Bhaskar