Creating an sbspace
Use the onspaces utility or HCL® OneDB® 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
Example
This shows how to create a 20-megabyte mirrored sbspace, sbsp4.
Offsets of 500 KB for the primary and 500 KB for the mirror chunks
are specified, and a metadata size of 150 KB with a 200 KB offset.
The AVG_LO_SIZE -Df tag specifies an expected average
smart-large-object size of 32 KB.
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 OneDB Administrator's Reference. For information about creating smart large objects, see the HCL OneDB DataBlade® API Programmer's Guide and HCL OneDB ESQL/C Programmer's Manual.
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.