skip to main content
10.1145/1099554.1099709acmconferencesArticle/Chapter ViewAbstractPublication PagescikmConference Proceedingsconference-collections
Article

A formal characterization of PIVOT/UNPIVOT

Published: 31 October 2005 Publication History

Abstract

PIVOT is an important relational operation that allows data in rows to be exchanged for columns. Although most current relational database management systems support PIVOT-type operations, to date a purely formal, algebraic characterization of PIVOT has been lacking. In this paper, we present a characterization in terms of extended relational algebra operators τ (transpose), Π (drop projection), and μ (unique optimal tuple merge). This enables us to (1) draw parallels with PIVOT and existing operators employed in Dynamic Data Mapping Systems (DDMS), (2) formally characterize invertible PIVOT instances, and (3) provide complexity results for PIVOT-type operations. These contributions are an important part of ongoing work on formal models for relational OLAP.

References

[1]
Fulya Erdinc and Catharine M. Wyss. Intrinsic, Rule-Based Optimization of PIVOT and UNPIVOT Operations within RDBMS. Forthcoming.
[2]
Conor Cunningham, César A. Galindo-Legaria, and Goetz Graefe. PIVOT and UNPIVOT: Optimization and Execution Strategies in an RDBMS. VLDB 2004.
[3]
M. R. Garey and D. S. Johnson. Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman and Company, 1979.
[4]
L. V. S. Lakshmanan, F. Sadri, and I. N. Subramanian. SchemaSQL - A Language for Interoperability in Relational Multi-Database Systems. VLDB 1996.
[5]
L. V. S. Lakshmanan, F. Sadri, and I. N. Subramanian. SchemaSQL - An Extension to SQL for Multidatabase Interoperability. TODS, December 2001.
[6]
Raghu Ramakrishnan and Johannes Gehrke. Database Management Systems, 3rd Edition. McGraw-Hill, 2003.
[7]
Edward L. Robertson and Catharine M. Wyss. Optimal Tuple Merge is NP-complete. IUCS Technical Report TR599, August 2004.
[8]
Catharine M. Wyss and Edward L. Robertson. Relational Languages for Metadata Integration. TODS, June 2005.
[9]
Andrew Witkowski, Srikanth Bellamkonda, Tolga Bozkaya, Gregory Dorman, Nathan Folkert, Abhinav Gupta, Lei Shen, and Sankar Subramanian. Spreadsheets in RDBMS for OLAP. SIGMOD 2003.

Cited By

View all
  • (2022)Formalization of Data Integration TransformationsNew Trends in Database and Information Systems10.1007/978-3-031-15743-1_56(615-622)Online publication date: 29-Aug-2022
  • (2020)Towards scalable dataframe systemsProceedings of the VLDB Endowment10.14778/3407790.340780713:12(2033-2046)Online publication date: 1-Jul-2020
  • (2017)Web System Development Using Polymorphic Widgets and Generic SchemasConceptual Modeling Perspectives10.1007/978-3-319-67271-7_9(121-135)Online publication date: 13-Oct-2017
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
CIKM '05: Proceedings of the 14th ACM international conference on Information and knowledge management
October 2005
854 pages
ISBN:1595931406
DOI:10.1145/1099554
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 31 October 2005

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. FIRA
  2. OLAP
  3. PIVOT
  4. UNPIVOT
  5. data mapping
  6. data modeling
  7. exRA
  8. extended RA
  9. federated interoperable RA

Qualifiers

  • Article

Conference

CIKM05
Sponsor:
CIKM05: Conference on Information and Knowledge Management
October 31 - November 5, 2005
Bremen, Germany

Acceptance Rates

CIKM '05 Paper Acceptance Rate 77 of 425 submissions, 18%;
Overall Acceptance Rate 1,861 of 8,427 submissions, 22%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)8
  • Downloads (Last 6 weeks)1
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2022)Formalization of Data Integration TransformationsNew Trends in Database and Information Systems10.1007/978-3-031-15743-1_56(615-622)Online publication date: 29-Aug-2022
  • (2020)Towards scalable dataframe systemsProceedings of the VLDB Endowment10.14778/3407790.340780713:12(2033-2046)Online publication date: 1-Jul-2020
  • (2017)Web System Development Using Polymorphic Widgets and Generic SchemasConceptual Modeling Perspectives10.1007/978-3-319-67271-7_9(121-135)Online publication date: 13-Oct-2017
  • (2016)Facilitating Data-Metadata Transformation by Domain Specialists in a Web-Based Information System Using Simple CorrespondencesConceptual Modeling10.1007/978-3-319-46397-1_34(445-459)Online publication date: 7-Oct-2016
  • (2013)Bidirectional by Necessity: Data Persistence and Adaptability for Evolving Application DevelopmentGenerative and Transformational Techniques in Software Engineering IV10.1007/978-3-642-35992-7_6(219-270)Online publication date: 2013
  • (2011)Efficient resource attribute retrieval in RDF triple storesProceedings of the 20th ACM international conference on Information and knowledge management10.1145/2063576.2063785(1445-1454)Online publication date: 24-Oct-2011
  • (2010)Updatable and evolvable transforms for virtual databasesProceedings of the VLDB Endowment10.14778/1920841.19208833:1-2(309-319)Online publication date: 1-Sep-2010
  • (2009)Towards a General Framework for Effective Solutions to the Data Mapping ProblemJournal on Data Semantics XIV10.1007/978-3-642-10562-3_2(37-73)Online publication date: 15-Nov-2009
  • (2008)Data exchange with data-metadata translationsProceedings of the VLDB Endowment10.14778/1453856.14538881:1(260-273)Online publication date: 1-Aug-2008
  • (2008)Definition and Formalization of Entity Resolution Functions for Everyday Information IntegrationSemantics in Data and Knowledge Bases10.1007/978-3-540-88594-8_7(126-142)Online publication date: 21-Oct-2008
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media