Abstract
Two persistent data storage technologies—XML and relational databases—are introduced in this chapter. The digital library data models from Chap. 30 are used to illustrate how each of these technologies would store this data. Java and Python code examples introduce the basic mechanisms used by XML and relational databases.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
A simple definition of a predicate is a statement that may be true or false depending on the logic expressed and the value of the variables used.
- 2.
A declarative programming language contains statements to indicate what needs to be done. However, the language does not allow the programmer to express how to achieve the result. In the case of SQL, the database software, often called the database engine, determines how to accomplish what needs to be done.
- 3.
SQL is both an ANSI and ISO standard.
- 4.
See Sect. 4.5 MySQL Client Programs in [4].
- 5.
See Sect. 13.2 Data Manipulation Statements in [4].
References
Refsnes data: XML tutorial. Available via https://www.w3schools.com/xml/default.asp. Cited 17 Jul 2019
Refsnes data: XML DOM tutorial. Available via https://www.w3schools.com/xml/dom_intro.asp. Cited 17 Jul 2019
Refsnes data: SQL tutorial. Available via https://www.w3schools.com/sql/default.asp. Cited 19 Jul 2019
Oracle corporation: MySQL 5.7 reference manual. Available via https://dev.mysql.com/doc/refman/5.7/en/. Cited 19 Jul 2019
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Voorhees, D.P. (2020). Persistent Data Storage. In: Guide to Efficient Software Design. Texts in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-28501-2_31
Download citation
DOI: https://doi.org/10.1007/978-3-030-28501-2_31
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-28500-5
Online ISBN: 978-3-030-28501-2
eBook Packages: Computer ScienceComputer Science (R0)