In this section, you will see how partitioning can optimize SQL statements clause execution with the optimizer known as partition pruning, and the use of SQL statements to effectively use partition data for selection and perform modification operations on the partitioning.
Partition selection and pruning
Partition pruning
Partition pruning is related to the optimization concept in partition. In partition pruning the concept described as Do not scan partitions where no possible matching values can be present is applied based on the query statements.
Suppose there is a partitioned table, tp1, created with the following statement:
CREATE TABLE tp1 (
first_name VARCHAR (30) NOT NULL,
last_name VARCHAR (30) NOT NULL,
zone_code...