ccmsrv expand

This topic contains information about the ccmsrv expand command.

Synopsis

ccmsrv expand   [-d|-dbspace dbspace_name] [-o|-offset chunkpath_offset]
                [-s|-server servername] -size KBytes -p|-path chunkpath [-y]

Description and uses

Use the ccmsrv expand command to increase the size of database server dbspace by adding a chunk file. This command is useful when you want to increase the size of a server that is running low on dbspace.

Note: Do not use an existing file.

For more information, see Increasing the database server dbspace

You must run this command on the database server, as user informix.

Options and arguments

-d|-dbspace dbspace_name

Specifies the dbspace. By default, the ccm dbspace is used. Possible dbspace names are as follows: root, log, ccm, and temp. For more information, see Informix database server database spaces.

-o|-offset chunkpath_offset

Specifies the offset to the chunk path if you are creating a database server using a raw partition. The default offset is zero.

-p|-path chunkpath

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.

-s|-server servername

Specifies the name of the database server. The default is the server on the current machine.

-size KBytes

Specifies the chunk size in KB.

-y

Executes the command without displaying confirmation messages.

Example

Expand the ccm dbspace by 100 MB by adding the /vol/data/informix_chunkfiles2 chunk file directory.

$ ccmsrv expand -dbspace ccm -size 100000 -path /vol/data/ informix_chunkfiles2

The new chunk file name is the existing chunk file name, incremented by 1. For example, if the last chunk file created was named ccm.001, the new chunk file name is ccm.002.


Feedback