Creating an sbspace
Use the onspaces utility or IBM® Informix® Server Administrator (ISA) to create an sbspace.
About this task
Use the onspaces utility to create an sbspace.
To create an sbspace using onspaces:
Procedure
- To create an sbspace on UNIX™,
you must be logged in as user informix or root.
To create an sbspace on Windows™, you must be a member of the Informix-Admin group.
- Ensure that the database server is online, administration, or quiescent mode, or in the cleanup phase of fast-recovery mode.
- Use the onspaces -c -S options to create
the sbspace.
- After you create the sbspace, you must perform a level-0 backup of the root dbspace and the new sbspace.
- To start storing smart large objects in this sbspace, specify the space name in the SBSPACENAME configuration parameter.
- Use onstat -d, onstat -g smb
s, and oncheck -cs, -cS, -ps,
or -pS to display information about the sbspace.
For more information, see Monitor sbspaces.
Example
onspaces -c -S sbsp4 -p /dev/rawdev1 -o 500 -s 20480 -m /dev/rawdev2 500
-Ms 150 -Mo 200 -Df "AVG_LO_SIZE=32"For information about creating an sbspace and default options for smart large objects, see information about the onspaces utility in the HCL® Informix® Administrator's Reference. For information about creating smart large objects, see the HCL® Informix® DataBlade® API Programmer's Guide and HCL® Informix® Enterprise Replication Guide.
What to do next
To create an sbspace using ISA
- Create the sbspace using ISA. For more information, see the ISA online help.
- Back up the new sbspace and the root dbspace.