Summary
In this chapter, we discussed how ledger databases can help us with data integrity management. In our hands-on examples, we specifically used Amazon QLDB, a fully managed ledger database available on AWS. We started by creating an AWS account and then creating an S3 bucket where our journal data from QLDB would be exported. After that, we created the QLDB ledger resource and covered the basic concepts such as getting the digest, the PartiQL editor, how to create a table, and inserting data into the table. Then, we covered how verification is done in QLDB, and why being immutable and cryptographically verifiable are crucial in preventing data integrity issues. We also covered how to work with the built-in history function and data even though they have been deleted. Lastly, we covered the best practices when using ledger databases, particularly for QLDB. Now that you are equipped with a solid understanding of these concepts, you know how the use of this type of database can...