[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3428757.3429103acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiiwasConference Proceedingsconference-collections
short-paper

Non-native Techniques for Storing JSON Documents into Relational Tables

Published: 27 January 2021 Publication History

Abstract

The natural way, how JSON documents can be queried and modified is to store them first in relational environment. In such a case, the features of relational DBMSs such as transaction processing, can be used. In this paper we compare two different mapping techniques: Adjacency List and the Single-Table Data Mapping (STDM) algorithm, which can be used, among other techniques, to store JSON documents in relational tables. The reason to choose and compare these two techniques is due to their origin: both are representatives of two different non-native storing techniques. The former is a general technique, which can be applied to any data presented in hierarchical form, while the latter is a representative of the family of XML-to-Relational storage algorithms, which can be used for JSON, too. Our results show that using the STDM algorithm the size of resulting relational table is approximately 70% of the size of the corresponding table generated with Adjacency List. Additionally, the STDM algorithm significantly outperforms Adjacency List concerning time.

References

[1]
Rakesh Agraval, Amit Somani and Yirong. Xu, 2000. Storage and querying of e-commerce data, Proceedings of the 27th VLDB Conference, Roma, Italy.
[2]
Mateusz Piech and Robert Marcjan, 2018 "A new approach to storing dynamic data in relational databases using JSON," Computer Science vol. 19(1), https://doi.org/10.7494/csci.2018.19.1.2505
[3]
Rahwa Bahta and Mustafa Atay, 2019. Translating JSON data into relational data using schema-oblivious approaches, ACM Southeast Conference, Kennesaw, https://doi.org/10.1145/3299815.3314467
[4]
Craig Chausser, Yinan Li and Jignesh M.Patel, 2013 Enabling JSON document stores in relational systems, WebDB, New York.
[5]
Zhen Hua Liu, Boda Hammerschmidt, Doug McMahon, Ying Liu and Hui Joe Chang, 2016. Closing the functional and performance gap between SQL and NoSQL, in: Proc. of the 2016 Int. Conf. on Management of Data, San Francisco, June 2016, https://doi.org/10.1145/2882903.2903731
[6]
Zhen Hua Liu, Boda Hammerschmidt, Doug McMahon, Ying Liu and Hui Joe Chang, 2014. JSON data management - supporting schema-less development in RDBMS, SIGMOD/PODS, Snowbird, June 2014, https://doi.org/10.1145/2588555.2595628
[7]
Daniel Tahara, Thaddeus Diamond and Daniel J. Abadi, 2014. Sinew: A new SQL system for multi-structured data, SIGMOD/PODS, Snowbird, June 2014, https://doi.org/10.1145/2588555.2612183
[8]
Fred Zemke, Boda Hammerschmidt, Krishna Kulkarni, "ANSI SQL/JSON: part 1," www.wiscorp.com/pub/DM32.2-2014-00025r1-sql-json-part-1.pdf, (last accessed 2020/05/08).
[9]
ISO/IEC TR 9075-6:2017 Information technology -- Database languages -- SQL Technical Reports: SQL support for JavaScript Object Notation, http://standards.iso.org/ittf/PubliclyAvailableStandards/index.html, (last accessed 2020/03/31)
[10]
Dušan Petković, 2017. JSON Integration in Relational Database Systems, Int. Journal of Computer Applications, 168(5): 14-19, https://doi.org/10.5120/ijca/2017914389.
[11]
Dušan Petković, 2017. SQL/JSON Standard: properties and deficiencies, Datenbank Spektrum, vol. 17(3), 2017, https://doi.org/10.1007/s13222-017-0267-4
[12]
Accessing IMS transactions and processing IMS callout requests, https://developer.ibm.com/zsystems/2018/05/30/ims-springboot/, last accessed 2020/05/29
[13]
Serge Abiteboul, Dallan Quass, Jason McHugh and Jennifer Widom, 1997. The Lorel query language for semi-structured data, Proc. of Int. Journal on Digital Libraries vol. 1(1), 1997, https://doi.org/10.1007/s007990050005
[14]
Daniela.Florescu and Donald Kossmann, 1999. Storing and querying XML data using an RDBMS, IEEE Data Eng. Bulletin, pp. 27--34, 1999.
[15]
Zip Code Data Sample, https://catalog.data.gov/dataset/cadastral-plss-standardized-data-plssspecialsurvey-se-version-1-1, last accessed 2020/03/02

Cited By

View all
  • (2023)A Survey on Mapping Semi-Structured Data and Graph Data to Relational DataACM Computing Surveys10.1145/356744455:10(1-38)Online publication date: 2-Feb-2023
  • (2022)JSON-based control model for SQL and NoSQL data conversion in hybrid cloud databaseJournal of Cloud Computing10.1186/s13677-022-00302-911:1Online publication date: 3-Aug-2022

Index Terms

  1. Non-native Techniques for Storing JSON Documents into Relational Tables

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    iiWAS '20: Proceedings of the 22nd International Conference on Information Integration and Web-based Applications & Services
    November 2020
    492 pages
    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 the author(s) 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].

    In-Cooperation

    • Johannes Kepler University, Linz, Austria

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 27 January 2021

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Adjacency List
    2. JSON
    3. STDM algorithm
    4. relational environment
    5. shredding

    Qualifiers

    • Short-paper
    • Research
    • Refereed limited

    Conference

    iiWAS '20

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)18
    • Downloads (Last 6 weeks)4
    Reflects downloads up to 19 Dec 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)A Survey on Mapping Semi-Structured Data and Graph Data to Relational DataACM Computing Surveys10.1145/356744455:10(1-38)Online publication date: 2-Feb-2023
    • (2022)JSON-based control model for SQL and NoSQL data conversion in hybrid cloud databaseJournal of Cloud Computing10.1186/s13677-022-00302-911:1Online publication date: 3-Aug-2022

    View Options

    Login options

    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