Creating a blobspace
You can use onspaces or ON-Monitor to create a blobspace.
Before you begin
- 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.
About this task
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.
To create a blobspace using onspaces:
Procedure
- To create a blobspace on UNIX™,
you must be logged in as user informix or root.
To create a blobspace on Windows™, you must be a member of the Informix-Admin group.
- Ensure that the database server is in online, administration, or quiescent mode, or the cleanup phase of fast-recovery mode.
- To add a blobspace, use the onspaces -c -b options.
- After you create the blobspace, you must perform a level-0 backup of the root dbspace and the new blobspace.
Example
onspaces -c -b blobsp3 -g 5 -p /dev/raw_dev1 -o 200 -s 10240 -m /dev/raw_dev2 200For reference information about creating a blobspace with onspaces, see information about the onspaces utility in the HCL® Informix® Administrator's Reference.
What to do next
To create a blobspace with ON-Monitor (UNIX™):
- Select the option.
- Enter the name of the new blobspace in the BLOBSpace Name field.
- If you want to create a mirror for the initial blobspace chunk,
enter
Yin the Mirror field. Otherwise, enterN. - Specify the blobpage size in terms of the number of disk pages
per blobpage in the BLOBPage Size field.
See Determine database server page size. For example, if your database server instance has a disk-page size of 2 KB, and you want your blobpages to have a size of 10 KB, enter 5 in this field.
- Enter the complete path name for the initial primary chunk of the blobspace in the Full Pathname field of the primary-chunk section.
- Specify an offset in the Offset field.
- Enter the size of the chunk, in KB, in the Size field.
- If you are mirroring this blobspace, enter the full path name, size, and optional offset in the mirror-chunk section of the screen.