发明名称 EFFICIENT EVALUATION OF SQL PIVOT OPERATIONS
摘要 Techniques are described herein for supporting efficient evaluation of pivot operations. In an embodiment, a pivoting query on a data table is received. The query identifies pivot columns, measure columns, and grouping columns. In response to receiving the query, a staging table that comprises new pivot columns, aggregated columns, and new grouping columns may be created. For each particular unique combination of values of the grouping columns and the pivot columns in the data table, stored values in the measure columns in the data table are aggregated for certain rows in the plurality of rows in the data table. Each row of the certain rows comprises the each particular unique combination of values of the grouping columns and the pivot columns in the data table. Results of aggregating are stored in the staging table. Data that has been populated in the staging table is transposed into a result set.
申请公布号 US2010017363(A1) 申请公布日期 2010.01.21
申请号 US20080176890 申请日期 2008.07.21
申请人 ORACLE INTERNATIONAL CORPORATION 发明人 BELLAMKONDA SRIKANTH;SHENG LEI;SUBRAMANIAN SANKAR
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址
您可能感兴趣的专利