To improve parallel
processing of operations involving full-table scans (for example,
WHERE clause evaluations without indexes or SQL GROUP BY evaluations),
the SPD Server enables you to force the creation of data component
partitions at fixed-size intervals. To specify the size interval,
use the PARTSIZE= table option. By default, the SPD Server sets PARTSIZE=
to 16 MB. For more information, see
SPD Server Table Options.
The SPD Server uses
the file systems that you specify with the DATAPATH= option to distribute
partitions in a cyclic (round-robin) pattern. Instead of creating
partitions until the first file system is full, the SPD Server randomly
chooses a file system from the DATAPATH= list for the first partition.
Then, it sequentially assigns partitions to successive file systems
in the DATAPATH= list. The software continues to cycle through the
file system set as many times as needed until all data partitions
for the table are stored. Assume that you specify the following:
DATAPATH='('/data1' '/data2')
Subsequently, you store
the BIGONE table in the domain. SPD Server uses random placement of
data partitions in the DATAPATH= list. So, the first BIGONE partition
can be stored in either the
/data1
or
the
/data2
directory. Subsequent partitions
alternate between the
/data1
and
/data2
directories, and so on.
If you set PARTSIZE=0,
SPD Server uses the DATAPATH= file systems strictly for overflow.
It creates partitions in the first file system, up to the file size
limit of your operating system. Then, when the first file system is
full, it proceeds to the second file system, and so on.
What happens when you
issue the first LIBNAME statement for a domain, but you do not specify
path options? If your tables are small, most likely, the primary file
system is adequate. However, if your tables are large, the primary
file system can fill up quickly. How do you know when the primary
file system is full? SPD Server returns an error message when you
perform an append operation on an existing table, or when you create
a new table in the domain.