Expand the size of a DBSpace by extending chunks instead of adding new ones.

1 Determine the chunks belonging to the DBSpace

Use the command

onstat -d

to determine the chunks belonging to the DBSpace.

2 Sysadmin tasks

Use the sysadmin database tasks to mark chunk extendable and increase its size:

Size in Kb

The unit size is in Kb

The following sample increase the size of chunk in 1GB (change CHUNK_NUMBER by the number of chunk you want to use).

$> dbaccess sysadmin
EXECUTE FUNCTION admin("modify chunk extendable", CHUNK_NUMBER);

EXECUTE FUNCTION task('modify chunk extend', CHUNK_NUMBER, 1000000);