Creating a default sbspace
If the access method supports sbspaces, the user, typically the database server administrator, can create a default sbspace.
About this task
To create a default sbspace:
Procedure
- Create a named sbspace with the onspaces utility.
When you create the default sbspace, you can turn on transaction logging.
- Assign that name as the default sbspace in SBSPACENAME parameter of the onconfig file.
- Initialize the database server with the oninit utility.
Example
For example, you create a default sbspace named
vspace with
the following steps. - From the command line, create the sbspace with logging turned
on:
onspaces -c -S vspace -p path -o offset -s size -Df "LOGGING=ON" - Edit the onconfig file to insert the following
line:
SBSPACENAME vspace # Default sbspace name - Take the database server offline and then bring it online again
to initialize memory with the updated configuration.
onmode -ky oninit