Escolar Documentos
Profissional Documentos
Cultura Documentos
Partition pruning is an essential performance feature for data warehouses. In partition pruning, the optimizer analyzes FROM and WH R clauses in !"# statements to eliminate un$needed partitions when %uilding the partition access list. &his functionality ena%les Oracle 'ata%ase to perform operations only on those partitions that are rele(ant to the !"# statement. Partition pruning dramatically reduces the amount of data retrie(ed from dis) and shortens processing time, thus impro(ing *uery performance and optimizing resource utilization. If you partition the inde+ and ta%le on different columns ,with a glo%al partitioned inde+-, then partition pruning also eliminates inde+ partitions e(en when the partitions of the underlying ta%le cannot %e eliminated. 'epending upon the actual !"# statement, Oracle 'ata%ase may use static or dynamic pruning. !tatic pruning occurs at compile$time, with the information a%out the partitions accessed %eforehand. 'ynamic pruning occurs at run$time, meaning that the e+act partitions to %e accessed %y a statement are not )nown %eforehand. . sample scenario for static pruning is a !"# statement containing a WHERE condition with a constant literal on the partition )ey column. .n e+ample of dynamic pruning is the use of operators or functions in the WHERE condition. Partition pruning affects the statistics of the o%/ects where pruning occurs and also affects the e+ecution plan of a statement.
more0 more10