Use the ccmsrv expand command to increase the database server dbspace capacity. This command expands a dbspace of a database server by adding a chunk file.
Synopsis
ccmsrv expand /size kbytes /d|/dbspace dbspacename /p|/path chunk_path [/y]
Uses
Run this command to increase the size of a server that is running out of room in a dbspace.
Note: Do not use an existing file.
For a discussion of this command, see Increasing the database server dbspace.
The users for this command are Informix-Admin group member and local administrator.
Satisfy the following prerequisites:
- Run this command on the machine where the Informix server resides.
- The path you specify must be a local NTFS path.
Options and arguments
- /d|/dbspace dbspacename
- Specifies the dbspace. If not specified, the dbspace defaults to the ccm dbspace. Possible dbspace names are as follows: .
rootdbs, log, temp, and ccm
- /p|/path chunk_path
- Specifies the path to the new chunk file.
- You can give the full path of the new chunk file, or you can give a directory path. If you specify a directory, the default next name (for example, ccm.001, ccm.002, ccm.003) is the name of the new chunk file.
- /size kbytes
- Specifies the chunk size in KB.
- /y
- Runs the command without displaying confirmation messages.
Example
Increase the ccm dbspace by 100,000 KB, and use the following chunk path: c:\ifmxdata
> ccmsrv expand /size 100000 /path c:\ifmxdata /dbspace ccm