| Advanced SQL modeling in RDBMS |
| Full text |
Pdf
(279 KB)
|
| Source
|
ACM Transactions on Database Systems (TODS)
archive
Volume 30 , Issue 1 (March 2005)
table of contents
Special Issue: SIGMOD/PODS 2003
Pages: 83 - 121
Year of Publication: 2005
ISSN:0362-5915
|
|
Authors
|
|
Andrew Witkowski
|
Oracle Corporation, Redwood Shores, CA
|
|
Srikanth Bellamkonda
|
Oracle Corporation, Redwood Shores, CA
|
|
Tolga Bozkaya
|
Oracle Corporation, Redwood Shores, CA
|
|
Nathan Folkert
|
Oracle Corporation, Redwood Shores, CA
|
|
Abhinav Gupta
|
Oracle Corporation, Redwood Shores, CA
|
|
John Haydu
|
Oracle Corporation, Redwood Shores, CA
|
|
Lei Sheng
|
Oracle Corporation, Redwood Shores, CA
|
|
Sankar Subramanian
|
Oracle Corporation, Redwood Shores, CA
|
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 31, Downloads (12 Months): 218, Citation Count: 2
|
|
APPENDICES and SUPPLEMENTS
|
|
Online appendix to designing mediation for context-aware applications. The appendix supports the information on page 83.
|
ABSTRACT
Commercial relational database systems lack support for complex business modeling. ANSI SQL cannot treat relations as multidimensional arrays and define multiple, interrelated formulas over them, operations which are needed for business modeling. Relational OLAP (ROLAP) applications have to perform such tasks using joins, SQL Window Functions, complex CASE expressions, and the GROUP BY operator simulating the pivot operation. The designated place in SQL for calculations is the SELECT clause, which is extremely limiting and forces the user to generate queries with nested views, subqueries and complex joins. Furthermore, SQL query optimizers are preoccupied with determining efficient join orders and choosing optimal access methods and largely disregard optimization of multiple, interrelated formulas. Research into execution methods has thus far concentrated on efficient computation of data cubes and cube compression rather than on access structures for random, interrow calculations. This has created a gap that has been filled by spreadsheets and specialized MOLAP engines, which are good at specification of formulas for modeling but lack the formalism of the relational model, are difficult to coordinate across large user groups, exhibit scalability problems, and require replication of data between the tool and RDBMS. This article presents an SQL extension called SQL Spreadsheet, to provide array calculations over relations for complex modeling. We present optimizations, access structures, and execution models for processing them efficiently. Special attention is paid to compile time optimization for expensive operations like aggregation. Furthermore, ANSI SQL does not provide a good separation between data and computation and hence cannot support parameterization for SQL Spreadsheets models. We propose two parameterization methods for SQL. One parameterizes ANSI SQL view using subqueries and scalars, which allows passing data to SQL Spreadsheet. Another method presents parameterization of the SQL Spreadsheet formulas. This supports building stand-alone SQL Spreadsheet libraries. These models are then subject to the SQL Spreadsheet optimizations during model invocation time.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
|
 |
2
|
Norbert Beckmann , Hans-Peter Kriegel , Ralf Schneider , Bernhard Seeger, The R*-tree: an efficient and robust access method for points and rectangles, Proceedings of the 1990 ACM SIGMOD international conference on Management of data, p.322-331, May 23-26, 1990, Atlantic City, New Jersey, United States
|
| |
3
|
Randall G. Bello , Karl Dias , Alan Downing , James J. Feenan, Jr. , James L. Finnerty , William D. Norcott , Harry Sun , Andrew Witkowski , Mohamed Ziauddin, Materialized Views in Oracle, Proceedings of the 24rd International Conference on Very Large Data Bases, p.659-664, August 24-27, 1998
|
 |
4
|
Jose A. Blakeley , Per-Ake Larson , Frank Wm Tompa, Efficiently updating materialized views, Proceedings of the 1986 ACM SIGMOD international conference on Management of data, p.61-71, May 28-30, 1986, Washington, D.C., United States
|
| |
5
|
|
| |
6
|
Jim Gray , Adam Bosworth , Andrew Layman , Hamid Pirahesh, Data Cube: A Relational Aggregation Operator Generalizing Group-By, Cross-Tab, and Sub-Total, Proceedings of the Twelfth International Conference on Data Engineering, p.152-159, February 26-March 01, 1996
|
 |
7
|
Ashish Gupta , Inderpal Singh Mumick , V. S. Subrahmanian, Maintaining views incrementally, Proceedings of the 1993 ACM SIGMOD international conference on Management of data, p.157-166, May 25-28, 1993, Washington, D.C., United States
|
 |
8
|
|
| |
9
|
Howson, C. 2002. Business Objects: The Complete Reference. McGraw-Hill/Osborne, New York, NY.
|
 |
10
|
|
| |
11
|
|
 |
12
|
I. S. Mumick , S. J. Finkelstein , Hamid Pirahesh , Raghu Ramakrishnan, Magic is relevant, Proceedings of the 1990 ACM SIGMOD international conference on Management of data, p.247-258, May 23-26, 1990, Atlantic City, New Jersey, United States
|
| |
13
|
Olap Application Developer's Guide. 2004. Oracle Database 10g Release 1 (10.1) Documentation. 2004. Oracle, Redwood Shores, CA.
|
| |
14
|
|
| |
15
|
|
 |
16
|
|
 |
17
|
|
| |
18
|
Tarjan, R. 1972. Depth-first search and linear graph algorithms. SIAM J. Comput. 1, 2, 146--160.
|
| |
19
|
|
 |
20
|
Andrew Witkowski , Srikanth Bellamkonda , Tolga Bozkaya , Gregory Dorman , Nathan Folkert , Abhinav Gupta , Lei Shen , Sankar Subramanian, Spreadsheets in RDBMS for OLAP, Proceedings of the 2003 ACM SIGMOD international conference on Management of data, June 09-12, 2003, San Diego, California
[doi> 10.1145/872757.872767]
|
| |
21
|
Zemke, F., Kulkarni, K., Witkowski, A., and Lyle, B. 1999. Introduction to OLAP function. Change proposal. ANS-NCTS H2-99-14 (April).
|
CITED BY 2
|
|
Andrew Witkowski , Srikanth Bellamkonda , Tolga Bozkaya , Aman Naimat , Lei Sheng , Sankar Subramanian , Allison Waingold, Query by Excel, Proceedings of the 31st international conference on Very large data bases, August 30-September 02, 2005, Trondheim, Norway
|
|
|
|
REVIEW
"Charles William Bash : Reviewer"
Structured query language (SQL) has been called overly simplistic since its original description, but it has been enhanced and elaborated upon over the years to become a very capable data programming language. The authors propose an additional ext
more...
|