International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 185 - Number 22 |
Year of Publication: 2023 |
Authors: Dušan Petković |
10.5120/ijca2023922962 |
Dušan Petković . Comparison of Techniques for Storing JSON Data in Relational Form. International Journal of Computer Applications. 185, 22 ( Jul 2023), 9-12. DOI=10.5120/ijca2023922962
JSON (JavaScript Object Notation) has become popular as the data exchange format over the Web. Recently, JSON has been gaining more popularity over XML due to its simplicity and ability to fit into the programming languages’ data types. At the beginning, JSON data have been stored by document store systems. Since the publication of the SQL/JSON specification in the SQL standard, several relational database vendors have integrated the support of JSON in their database systems. In this paper we compare two forms of storing JSON data into relational tables in respect to data load time and disk space usage. Our experimental results show that the native (binary) storage form occupies approximately 56% of disk space needed for the row storage form. Also, the former outperforms the latter in relation to data loading time.