You can configure partitioning to optimize the mapping performance at run time when you read data from Amazon S3 sources.
The partition type controls how the agent distributes data among partitions at partition points. You can define the partition type as passthrough partitioning. With partitioning, the Secure Agent distributes rows of source data based on the number of threads that you define as partition.
You can specify the value of the
Number of Partition
field in the
Partition
tab under the mapping task to configure partitioning for Amazon S3 sources. The Secure Agent configures the partition for Amazon S3 sources based on the value you enter in the
Number of Partition
field. By default, the value of the
Number of Partition
field is one.
The Secure Agent enables the partition according to the size of the Amazon S3 source file. The file name is appended with a number starting from 0 in the following format:
<file name>_<number>
If you enable partitioning and the precision for the source column is less than the maximum data length in that column, you might receive unexpected results. To avoid unexpected results, the precision for the source column must be equal to or greater than the maximum data length in that column for partitioning to work as expected.
You cannot configure partitioning for mappings that read data from multiple Amazon S3 sources.