Creating a space for temporary data
Basic text searching creates temporary data while processing bts indexes. You can create a separate space for temporary data and specify it when you create the bts index.
Before you begin
If you do not specify
a separate space for temporary data when you create the bts index
with the tempspace index parameter, the database
server stores temporary data in one of the following locations, according
to the criteria in the following order:
- The sbspace specified in the CREATE INDEX statement.
- A temporary sbspace that is specified by the SBSPACETEMP configuration parameter. The temporary sbspace with the most free space is used. If no temporary sbspaces are listed, the sbspace with the most free space is used.
- If the SBSPACETEMP configuration parameter is not set and you have a storage pool that is set up, a temporary sbspace is created and the SBSPACETEMP configuration parameter is set dynamically in the onconfig file.
- The sbspace specified by the SBSPACENAME configuration parameter.
About this task
Example
onspaces -c -S temp_sbspace -t -o 0 -s 50000 -p /dev/temp_sbspace