Invention Grant
- Patent Title: Efficient evaluation of SQL pivot operations
- Patent Title (中): SQL透视操作的高效评估
-
Application No.: US12176890Application Date: 2008-07-21
-
Publication No.: US08041731B2Publication Date: 2011-10-18
- Inventor: Srikanth Bellamkonda , Lei Sheng , Sankar Subramanian
- Applicant: Srikanth Bellamkonda , Lei Sheng , Sankar Subramanian
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Hickman Palermo Truong & Becker LLP
- Main IPC: G06F7/00
- IPC: G06F7/00

Abstract:
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.
Public/Granted literature
- US20100017363A1 EFFICIENT EVALUATION OF SQL PIVOT OPERATIONS Public/Granted day:2010-01-21
Information query