What is the Purpose of a Database?
A database is designed to coherently store and conduct operations on related information. Modern databases are able to support operations on information stores while prioritizing the integrity of the data stored. Every operation or transaction contains a minimum of one independent unit of work which can include reading or writing information to the data store. When these transactions execute, the database must be kept in a consistent state in order to avoid issues with other consumers of the data store. By ensuring that the recording of multiple entries in the database as individual or atomic transactions, the integrity of the information stored is maintained and transactional errors are avoided.