To improve parallel
processing of operations that involve full-table scans (for example,
WHERE clause evaluations without indexes or SQL GROUP BY evaluations),
you can 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 SAS Scalable Performance Data (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 list:
DATAPATH='('/data1' '/data2')
Subsequently, you store
the BIGONE table in the domain. SPD Server uses random placement of
data partitions in the DATAPATH= list. 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. 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, the primary file system is
probably adequate. However, if your tables are large, the primary
file system can fill up quickly. 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.
If the primary file
system is full, you can issue a subsequent LIBNAME statement that
specifies additional paths. You can append to an existing table, but
you might not be able to create a new table in the domain. The software
cannot store the first metadata file partition because the primary
file system is still full. What is the solution? You need to either
free space in the primary file system or get the SPD Server administrator
to create a new LIBNAME domain.