Skip to main content
Log in

SQL/JSON Standard: Properties and Deficiencies

  • Fachbeitrag
  • Published:
Datenbank-Spektrum Aims and scope Submit manuscript

Abstract

Recently, a new era of application development is emerging, which is based upon the ease of access to modern compute resources, such as mobile devices. This access can be supported using JSON (Java Script Object Notation). Therefore, the support of storage and query access for JSON documents in the context of relational DBMSs is necessary. For this reason, the SQL standardization committee published a proposal called SQL/JSON. In this paper we discuss the JSON features specified in the proposal and show to what extent different relational database systems have integrated them.

At the end of the paper we describe the main drawbacks of the proposal and the ways to solve them. From our point of view, the following should be specified in one of the future proposals of SQL/JSON: JSON documents should be first-class objects in SQL (native storage). Handling JSON documents as first-class objects in SQL would provide the potential for greater capability for users and for better performance. The support of modification of parts of a JSON document using the SQL UPDATE statement is necessary. Direct access of external JSON data should be supported, too.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2

Similar content being viewed by others

References

  1. Avro (2017) Avro. http://avro.apache.org/. Accessed 25 Aug 2017

    Google Scholar 

  2. Bestgen, R. – Using DB2 for i with XML and JSON, schd.ws/hosted_files/commons17/6d/26AD

  3. BSON. http://bsonspec.org/. Accessed 25 Aug 2017

    Google Scholar 

  4. Chasseur C, Li Y, Patel J (2013) Enabling JSON document stores in relational systems. Sixteenth International Workshop on the Web and Databases, New York, 23.6.2013.

    Google Scholar 

  5. Liu CH, Hammerschmidt B, McMahon D (2014) JSON data management supporting schema-less development in RDBMS. Proceedings of the 2014 International Conference on Management of Data, Snowbird, 22.06.2014-27.06.2014, pp 1247–1258

    Google Scholar 

  6. Liu CH, Hammerschmidt B, McMahon D, Li Y, Chang HJ (2016) Closing the functional and performance gap between SQL and noSQL. Proceedings of the 2016 International Conference on Management of Data, San Fransisco, 26.06.2016-01.07.2016.

    Book  Google Scholar 

  7. Oracle Help Center (2017) JSON in oracle database. http://docs.oracle.com/database/121/ADXDB/json.htm#ADXDB6246. Accessed 25 Aug 2017

    Google Scholar 

  8. Petković D (2016) SQL server 2016, A Beginner’s Guide. McGraw-Hill, New York

    Google Scholar 

  9. Petković D (2017) JSON integration in relational database systems. Int J Comput Appl 168(5):14–19

    Google Scholar 

  10. PostgreSQL (2017) PostgreSQL 9.4, JSON types. www.postgresql.org/docs/9.4/static/datatype-json.html. Accessed 25 Aug 2017

    Google Scholar 

  11. PostgreSQL (2017) PostgreSQL 9.4, JSON functions. www.postgresql.org/docs/9.4/static/functions-json.html. Accessed 25 Aug 2017

    Google Scholar 

  12. Microsoft (2017) SQL server: JSON data. https://docs.microsoft.com/en-us/sql/relational-databases/json/json-data-sql-server. Accessed 25 Aug 2017

    Google Scholar 

  13. Tahara D (2014) Sinew: a new SQL system for multi-structured data. Proceedings of the 2014 International Conference on Management of Data, Snowbird, 22.06.2014-27.06.2014.

    Book  Google Scholar 

  14. Zemke F, Hammerschmidt B, Kulkarni K, Liu Z, McMahon D, Melton J, Michels J, Özcan F, Pirahesh H (2014) ANSI SQL/JSON: part 1. https://www.wiscorp.com/pub/DM32.2-2014-00024R1_JSON-SQL-Proposal-1.pdf. Accessed 25 Aug 2017

    Google Scholar 

  15. Zemke F, Hammerschmidt B, Kulkarni K, Liu Z, McMahon D, Melton J, Michels J, Özcan F, Pirahesh H (2014) ANSI SQL/JSON: part 2 : querying JSON. www.wiscorp.com/pub/DM32.2-2014-00025r1-sql-json-part-2.pdf. Accessed 27 Aug 2017

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dušan Petković.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Petković, D. SQL/JSON Standard: Properties and Deficiencies. Datenbank Spektrum 17, 277–287 (2017). https://doi.org/10.1007/s13222-017-0267-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13222-017-0267-4

Keywords

Navigation