Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

A lightweight and efficient temporal database management system in TDSQL

Published: 01 August 2019 Publication History

Abstract

Driven by the recent adoption of temporal expressions into SQL:2011, extensions of temporal support in conventional database management systems (a.b.a. DBMSs) have re-emerged as a research hotspot. In this paper, we present a lightweight yet efficient built-in temporal implementation in Tencent's distributed database management system, namely TDSQL. The novelty of TDSQL's temporal implementation includes: (1) a new temporal data model with the extension of SQL:2011, (2) a built-in temporal implementation with various optimizations, which are also applicable to other DBMSs, and (3) a low-storage-consumption in which only data changes are maintained. For the repeatability purpose, we elaborate the integration of our proposed techniques into MySQL. We conduct extensive experiments on both real-life dataset and synthetic TPC benchmarks by comparing TD-SQL with other temporal databases. The results show that TDSQL is lightweight and efficient.

References

[1]
DB2. https://www.ibm.com/analytics/us/en/db2.
[2]
Mariadb. https://mariadb.com/kb/en/library/system-versioned-tables/.
[3]
Oracle. https://www.oracle.com.
[4]
PostgreSQL. https://www.postgresql.org.
[5]
SQL Server. https://docs.microsoft.com/en-us/sql/relational-databases/tables/temporal-tables.
[6]
M. Al-Kateb, A. Ghazal, A. Crolotte, R. Bhashyam, J. Chimanchode, and S. P. Pakala. Temporal query processing in teradata. In Joint 2013 EDBT/ICDT Conferences, EDBT '13 Proceedings, Genoa, Italy, March 18--22, 2013, pages 573--578, 2013.
[7]
H. Berenson, P. A. Bernstein, J. Gray, J. Melton, E. J. O'Neil, and P. E. O'Neil. A critique of ANSI SQL isolation levels. In SIGMOD Conference, pages 1--10. ACM Press, 1995.
[8]
M. Böhlen and C. Jensen. Temporal Data Model and Query Language Concepts, pages 437--453. 12 2003.
[9]
C. X. Chen and C. Zaniolo. Sql<sup>st</sup>: A spatio-temporal data model and query language. In ER, volume 1920 of Lecture Notes in Computer Science, pages 96--111. Springer, 2000.
[10]
J. Chomicki. Efficient checking of temporal integrity constraints using bounded history encoding. ACM Trans. Database Syst., 20(2):149--186, 1995.
[11]
J. Clifford, C. E. Dyreson, R. T. Snodgrass, T. Isakowitz, and C. S. Jensen. "now". In The TSQL2 Temporal Query Language, pages 383--392. 1995.
[12]
R. Elmasri and G. T. J. Wuu. A temporal model and query language for ER databases. In ICDE, pages 76--83. IEEE Computer Society, 1990.
[13]
S. K. Gadia and C. Yeung. A generalized model for a relational temporal database. In SIGMOD Conference, pages 251--259. ACM Press, 1988.
[14]
C. S. Jensen, J. Clifford, R. Elmasri, S. K. Gadia, P. J. Hayes, and S. Jajodia. A consensus glossary of temporal database concepts. SIGMOD Record, 23(1):52--64, 1994.
[15]
C. S. Jensen, J. Clifford, S. K. Gadia, A. Segev, and R. T. Snodgrass. A glossary of temporal database concepts. SIGMOD Record, 21(3):35--43, 1992.
[16]
C. S. Jensen, C. E. Dyreson, M. H. Böhlen, J. Clifford, R. Elmasri, S. K. Gadia, F. Grandi, P. J. Hayes, S. Jajodia, W. Käfer, N. Kline, N. A. Lorentzos, Y. G. Mitsopoulos, A. Montanari, D. A. Nonen, E. Peressi, B. Pernici, J. F. Roddick, N. L. Sarda, M. R. Scalas, A. Segev, R. T. Snodgrass, M. D. Soo, A. U. Tansel, P. Tiberio, and G. Wiederhold. The consensus glossary of temporal database concepts - february 1998 version. In Temporal Databases, Dagstuhl, pages 367--405, 1997.
[17]
C. S. Jensen and R. T. Snodgrass. Temporal data management. IEEE Trans. Knowl. Data Eng., 11(1):36--44, 1999.
[18]
L. Jiang, B. Salzberg, D. B. Lomet, and M. B. García. The bt-tree: A branched and temporal access method. In VLDB, pages 451--460. Morgan Kaufmann, 2000.
[19]
M. Kaufmann, P. M. Fischer, N. May, C. Ge, A. K. Goel, and D. Kossmann. Bi-temporal timeline index: A data structure for processing queries on bi-temporal data. In ICDE, pages 471--482. IEEE Computer Society, 2015.
[20]
M. Kaufmann, P. M. Fischer, N. May, A. Tonder, and D. Kossmann. Tpc-bih: A benchmark for bitemporal databases. In TPCTC, volume 8391 of Lecture Notes in Computer Science, pages 16--31. Springer, 2013.
[21]
K. G. Kulkarni and J. Michels. Temporal features in SQL: 2011. SIGMOD Record, 41(3):34--43, 2012.
[22]
A. Kumar, V. J. Tsotras, and C. Faloutsos. Access methods for bi-temporal databases. In Temporal Databases, Workshops in Computing, pages 235--254. Springer, 1995.
[23]
H. Li, Z. Zhao, Y. Cheng, W. Lu, X. Du, and A. Pan. Efficient time-interval data extraction in mvcc-based rdbms. World Wide Web, 2018.
[24]
D. B. Lomet, R. S. Barga, M. F. Mokbel, G. Shegalov, R. Wang, and Y. Zhu. Transaction time support inside a database engine. In ICDE, page 35. IEEE Computer Society, 2006.
[25]
N. A. Lorentzos and Y. G. Mitsopoulos. SQL extension for interval data. IEEE Trans. Knowl. Data Eng., 9(3):480--499, 1997.
[26]
D. R. K. Ports and K. Grittner. Serializable snapshot isolation in postgresql. PVLDB, 5(12):1850--1861, 2012.
[27]
A. P. Sistla and O. Wolfson. Temporal conditions and integrity constraints in active database systems. In SIGMOD Conference, pages 269--280. ACM Press, 1995.
[28]
M. Stonebraker, E. Wong, P. Kreps, and G. Held. The design and implementation of INGRES. ACM Trans. Database Syst., 1(3):189--222, 1976.
[29]
Y. Tao and D. Papadias. Mv3r-tree: A spatio-temporal access method for timestamp and interval queries. In PVLDB, pages 431--440. Morgan Kaufmann, 2001.
[30]
Y. Tao, D. Papadias, and J. Sun. The tpr*-tree: An optimized spatio-temporal access method for predictive queries. In VLDB, pages 790--801. Morgan Kaufmann, 2003.
[31]
J. R. R. Viqueira and N. A. Lorentzos. SQL extension for spatio-temporal data. VLDB J., 16(2):179--200, 2007.

Cited By

View all
  • (2024)LIT: Lightning-fast In-memory Temporal IndexingProceedings of the ACM on Management of Data10.1145/36392752:1(1-27)Online publication date: 26-Mar-2024
  • (2024)Rock: Cleaning Data by Embedding ML in Logic RulesCompanion of the 2024 International Conference on Management of Data10.1145/3626246.3653372(106-119)Online publication date: 9-Jun-2024
  • (2024)TGV: A Visualization Tool for Temporal Property Graph DatabasesInformation Systems Frontiers10.1007/s10796-023-10426-126:4(1543-1564)Online publication date: 1-Aug-2024
  • Show More Cited By
  1. A lightweight and efficient temporal database management system in TDSQL

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image Proceedings of the VLDB Endowment
    Proceedings of the VLDB Endowment  Volume 12, Issue 12
    August 2019
    547 pages

    Publisher

    VLDB Endowment

    Publication History

    Published: 01 August 2019
    Published in PVLDB Volume 12, Issue 12

    Qualifiers

    • Research-article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)43
    • Downloads (Last 6 weeks)5
    Reflects downloads up to 24 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)LIT: Lightning-fast In-memory Temporal IndexingProceedings of the ACM on Management of Data10.1145/36392752:1(1-27)Online publication date: 26-Mar-2024
    • (2024)Rock: Cleaning Data by Embedding ML in Logic RulesCompanion of the 2024 International Conference on Management of Data10.1145/3626246.3653372(106-119)Online publication date: 9-Jun-2024
    • (2024)TGV: A Visualization Tool for Temporal Property Graph DatabasesInformation Systems Frontiers10.1007/s10796-023-10426-126:4(1543-1564)Online publication date: 1-Aug-2024
    • (2023)Modeling and querying temporal RDF knowledge graphs with relational databasesJournal of Intelligent Information Systems10.1007/s10844-023-00780-661:2(569-609)Online publication date: 1-Oct-2023
    • (2022)A Temporal JSON Data Model and Its Query LanguagesJournal of Database Management10.4018/JDM.29955633:1(1-29)Online publication date: 23-May-2022
    • (2022)What’s New in Temporal Databases?Advances in Databases and Information Systems10.1007/978-3-031-15740-0_5(45-58)Online publication date: 5-Sep-2022

    View Options

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media