Partition Pruning和Partition-Wise Joins

jichengjie發表於2018-04-15

Partition Pruning

Partition pruning is an essential performance feature for data warehouses. In partition pruning, the optimizer analyzes FROM and WHERE clauses in SQL statements to eliminate unneeded partitions when building the partition access list. As a result, Oracle Database performs operations only on those partitions that are relevant to the SQL statement.

Partition pruning dramatically reduces the amount of data retrieved from disk and shortens processing time, thus improving query performance and optimizing resource utilization.


Partition-Wise Joins

Partition-wise joins reduce query response time by minimizing the amount of data exchanged among parallel execution servers when joins execute in parallel. This significantly reduces response time and improves the use of both CPU and memory resources.

Partition-wise joins can be full or partial. Oracle Database decides which type of join to use.

Benefits of Partition-Wise Joins

Partition-wise joins offer benefits described in the following topics:



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26870952/viewspace-2152956/,如需轉載,請註明出處,否則將追究法律責任。

相關文章