Parallel partition-wise aggregation
Abstract
Techniques are provided for performing a parallel aggregation operation on data that resides in a container, such as a relational table. During generation of the execution plan for the operation, it is determined whether partition-wise aggregation should be performed, based on the grouping keys involved in the aggregation and the partition keys used to partition the container. If partition-wise aggregation is to be performed, then the assignments given to the slave processes that are assigned to scan a container are made on a partition-wise basis. The scan slaves themselves may perform full or partial aggregation (depending on whether they are the only scan slaves assigned to the partition). If the scan slaves perform no aggregation, or only partial aggregation, then the scan slaves redistribute the data items to aggregation slaves that are local to the scan slaves.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of performing, in parallel, an aggregation operation on data items that reside in one or more containers stored on non-volatile storage, wherein the aggregation operation aggregates the data items based on groups established by one or more grouping keys, the method comprising: determining that at least one of the one or more grouping keys is related to at least one partition key used to establish partitions of the one or more containers; in response to determining that at least one of the one or more grouping keys is related to at least one partition key, based on the partitions, esta
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (30)
Non-Patent Literature (5)
- Oracle, "5 Parallelism and Partitioning in Data Warehouses," Oracle Database Data Warehousing Guide Release 1 (10.1), retrieved from internet at , retrieved on Oct. 28, 2005, 36 pages.
- Oracle, "5 Parallelism and Partitioning in Data Warehouses," Oracle Database Data Warehousing Guide Release 1 (10.1), retrieved from internet at <http://:dbtune.com/docs/10.1/server.101/b10736-parpart.htm>, retrieved on Oct. 28, 2005, 36 pages.
- Oracle, "Database Performance with Oracle Database 10g Release 2," White Paper, May 2005, retrieved from internet at <http://oracle.com/technology/deploy/performance/pdf/twp-perf-database%2-performance%20with%oracle10gr2.pdf>, retrieved on Oct. 28, 2005, pp. 3-29.
- Rao et al. "Automating Physical Database Design in a Parallel Database", Jun. 2002.
- Shatdal et al. "Adaptive Parallel Aggregation Algorithms", 1995.