Creating a blobspace
You can use onspaces to create a blobspace.
Before you create a blobspace:
- Allocate disk space for the blobspace, as described in Allocate disk space.
- Determine what blobpage size is optimal for your environment.
For instructions, see Determine blobpage size.
Specify a blobspace name of up to 128 bytes. The name
must be unique and must begin with a letter or underscore. You can
use letters, digits, underscores, and $ characters in the name.
Important: You can mirror the blobspace when you create it if
mirroring is enabled for the database server. Mirroring takes effect
immediately.
To create a blobspace using onspaces:
The following example shows how to create a 10-megabyte
mirrored blobspace, blobsp3, with a blobpage size of 10 KB,
where the database server page size is 2 KB. An offset of 200 KB for
the primary and mirror chunks is specified. The blobspace is created
from raw disk space on UNIX.
onspaces -c -b blobsp3 -g 5 -p /dev/raw_dev1 -o 200 -s 10240 -m /dev/raw_dev2 200
For reference information about creating a blobspace with onspaces, see information about the onspaces utility in the HCL Informix® Administrator's Reference.