Purpose
This section describes the extension of a dbspace in an Informix database. It is important to extend a dbspace in good time, otherwise the availability of your SAP System might be affected.
To extend a dbspace, SAPDBA adds a new chunk to the dbspace, or you do this manually. Before you add the chunk, you have to decide how large to make it and where to put it.
Prerequisites
You need to extend a dbspace in any of the following situations:
alert has been raised in the Computing Center Management System (CCMS) of the SAP System, because a dbspace is running out of space. In this case, the alert monitor lets you extend the dbspace immediately with SAPDBA functionality. Refer to
Extending a Dbspace with CCMS (Informix). For more information about sizing and locating the new dbspace, see "Process Flow."

SAP recommends you to use the alert monitor to help prevent dbspaces running out of space. The alert monitor automatically warns you of problems.
Process Flow
· Make the new chunk large enough to accommodate medium to long term dbspace growth. This reduces the chance of an error occurring again soon.
· For a critical, rapidly growing dbspace, you make the chunk as large as possible.
· You take account of the available storage space and the storage requirements of other dbspaces.
· You do not allocate chunks where the sum of offset plus chunk size is larger than 2 GB if you are extending a dbspace or creating a new one. This leads to severe problems. Refer to SAP Notes 34722 and 28335. SAP recommends you to use SAPDBA to add chunks (see "Results" below), because it prevents the allocation of chunks larger than 2 GB.
If you allocate raw devices (UNIX) or NTFS files (NT) with a maximum size of 2 GB, as recommended in the installation documentation, you are less likely to make this mistake with chunks.
· You extend rapidly-growing dbspaces by at least the following amount:
Minimum Extension Sizes for Rapidly-Growing Dbspaces
Dbspace |
Minimum Extension Size (in MB) for Dbspace |
PSAPSTAB |
600 |
PSAPBTAB |
300 |
PSAPCLU |
150 |
PSAPPOOL |
400 |
PSAPPROT |
200 |
During an SAP update or upgrade, you might also have to extend dbspaces. The upgrade tools show you the relevant dbspaces and how much larger you must make them.

You go into live production with a certain disk capacity.
When a new disk is added to an existing system, be sure to evenly spread the current data over all available disks (that is, move a certain amount of less active data to the new disk). Therefore, you can locate future dbspace extensions on existing disks rather than concentrate them all on the new disk, if possible. However, if the existing disks are already full, this poses a problem.
One approach to the problem of full disks is to proceed as follows when you install a new disk:
This frees up the disk space that was being used by the mirror chunks.

You need to think ahead when planning database growth. The best solution is to install your new disks well before the existing disks becoming full. You can then develop a sensible database expansion strategy that takes account of future requirements and allows balanced growth. This means spreading new dbspace extensions evenly across the available disk drives.
Result
Now that you know the size and location of the new dbspace, you can extend the dbspace in either of the following ways:
See also:
Informix documentation at
http://www.informix.com