home‎ > ‎storage‎ > ‎

func=newdata

Create a new storage space.

usage

infx storage func=newdata space size chunk [ mchunk moffset pgsize=2|4|6|8|10|12|14|16 first next ]
     create new data space
       required:
         space - the storage space name
         size - the size in mb or add g/k for gb/kb
         chunk - the chunk
       optional:
         mchunk - chunk to put mirror on
         moffset - offset into mirror chunk in mb
         pgsize - page size in kb
         first - the first size in mb
         next - the next size in mb

example

demo1@bobii:/home/informix>infx storage func=newdata space=dat05 chunk=pool size=100

execute function task('create dbspace from storagepool','dat05','100000','0')

Space 'dat05' added. Chunk 26 is now extendable.