SIMPLE RELATIONAL DATABASE TEXT FORMAT FOR DEVELOPING, DESCRIBING AND EXCHANGING OVER A NETWORK

Authors

DOI:

https://doi.org/10.32689/maup.it.2022.4.5

Keywords:

relational databases, CSV format, file formats, database converter, data transfer over the network

Abstract

There is no simple enough text format to describe together the data and the schema of relational database. A commaseparated values (CSV) files are used to represent tabular data. But CSV not describe a relational database schema thus it cannot represent database in complete. New text format for describing database can be CSV files with a simple name convention for naming directories, files, and table columns. The purpose of this work – to give the basic definitions of this format so that on the one hand it was quite simple, and on the other quite complete. The main idea of this format is to store the data itself, as well as the database schema, together in CSV files. Specifically, information about the database schema, such as the column name, its type, whether it is a key, etc., is encoded in the column name CSV tables. Also, the name of the directory where the CSV files are located is the name of the database, and the names of the CSV files themselves are the names of the database tables. The article considers an example that contains the main features of a relational database – tabular representation, primary key, foreign key. It is shown that this database is completely described by the new format. Converters are required to use the new format to exchange databases between different databases. Conventional tools for working with CSV files, which are supported by many databases, are not able to convert the database in new format to another format. To verify the correctness of this format, a simple converter was implemented to convert databases from this format to the Maria DB format and vice versa. As a result of testing the converter it was possible to show that this format is quite suitable for describing together the data and the scheme of the relational database. These results indicate that this format is quite suitable for creating simple databases, using this format as an intermediate for the transfer of databases between different types of ones and so on.

References

Y. Shafranovich, Common Format and MIME Type for Comma-Separated Values (CSV) Files. RFC 4180, October 2005, DOI 10.17487/RFC4180.

M. Hausenblas, E. Wilde, J. Tennison. URI Fragment Identifiers for the text/csv Media Type, RFC 7111, October 2014, DOI 10.17487/RFC7111.

Xu Feng et al. Research on Cross-network Exchange Method of Enterprise Application Business Process. Data J. Phys.: Conf. Ser. 2020. №1693 012037.

Greg Charest, Mitch Rogers. Data Exchange Mechanisms and Considerations. Enterprise Architecture (Harvard Unsversity): веб-сайт. URL: https://enterprisearchitecture.harvard.edu/data-exchange-mechanisms (дата звернення: 20.11.2022).

Mohammed Jawaluddeen San, Ivin Amri Musliman, Alias Abdul Rahman. IFC to CityGML Conversion Algorithm Based on Geometry and Semantic Mapping. Joint International Conference Geospatial Asia-Europe 2021 and GeoAdvances, 5–6 October 2021, online.

Bodlaj, J. (2014). Network Data File Formats. In: Alhajj, R., Rokne, J. (eds) Encyclopedia of Social Network Analysis and Mining. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-6170-8_298.

Paul Walsh, Rufus Pollock, Martin Keegan, "Tabular Data Package". [Online]. веб-сайт. URL: https://specs.frictionlessdata.io/tabular-data-package/#language (дата звернення: 20.11.2022).

ANSI/ISO/IEC International Standard (IS) Database Language SQL — Part 2: Foundation (SQL/Foundation): веб-сайт. URL: http://web.cecs.pdx.edu/~len/sql1999.pdf (дата звернення: 20.11.2022).

GitLab: веб-сайт. URL: https://gitlab.com/dimakrasnoshapka/books.git (дата звернення: 20.11.2022).

Understanding CSV Files in Excel. веб-сайт. URL: https://www.spreadsheetsmadeeasy.com/understanding-csvfiles-in-excel/ (дата звернення: 20.11.2022).

WP Data Access. CSV files: веб-сайт. URL: https://wpdataaccess.com/docs/premium-data-services/csv-files/#(дата звернення: 20.11.2022).

Google Drive. CSV files: веб-сайт. URL: https://drive.google.com/file/d/1y-guvxD0r74cJ_bi8yy6J_rHli1N7B6M/view?usp=sharing (дата звернення: 20.11.2022).

Downloads

Published

2023-04-06

How to Cite

КРАСНОШАПКА, Д., & ЗОЛОТЬКО, К. (2023). SIMPLE RELATIONAL DATABASE TEXT FORMAT FOR DEVELOPING, DESCRIBING AND EXCHANGING OVER A NETWORK. Information Technology and Society, (4 (6), 34-40. https://doi.org/10.32689/maup.it.2022.4.5