发明名称 Evaluation of rollups with distinct aggregates by using sequence of sorts and partitioning by measures
摘要 Methods are provided for efficiently evaluating database queries including a rollup operator and a distinct aggregate function. Using a sequence of sorts, duplicate record elimination performed on previous sorts at lower, or finer, levels of the rollup operator is taken advantage of by performing subsequent sorts on the preceding sort. Hence, when moving from one rollup level to the next higher level, there are fewer data records to sort with respect to the relevant grouping columns for that level, and thus also fewer duplicate data records to eliminate for purposes of computing the distinct aggregate. Using parallel evaluation, processing of aggregate functions is split among different processing slaves, and the measure of an aggregate function is included as a partitioning key when sending data from one data flow operation to the next data flow operation of a query execution plan. Using parallel evaluation for a query that includes two or more aggregate functions, a measure code corresponding with each aggregate function and associated measure values are included as partitioning keys for enhanced load balancing and parallelization.
申请公布号 US6775682(B1) 申请公布日期 2004.08.10
申请号 US20020084642 申请日期 2002.02.26
申请人 ORACLE INTERNATIONAL CORPORATION 发明人 BALLAMKONDA SRIKANTH;GUPTA ABHINAV;WITKOWSKI ANDREW
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址