What is a database?
A database is a system that allows users to store data in a structured way using tables and fields.
It also provides _ means for us to _ the data.
various,access
Data vs Information
Data:1. Raw facts2. Unprocessed3. No context4. Just text and numbersInformation:1. Data+context2. Processed and structured3. Interpreted by the user4. Data is given meaning
Database vs spreadsheet
Spreadsheets are used to manipulate data(using mathematical operations) while databases are used to store data. Databases also have relationships betwen tables and allow the user to make queries to find specific data
Database vs informtion system
Databases contain data that is used by information systems. Informations systems are complete systems that present data as information.
Why are databases needed?
Elaborate on data organisation.| As part of the question: Why are databases needed?
Help organise data in a structured manner, Allow us to store, retrieve and manipulate data
Elaborate on data integrity.| As part of the question: Why are databases needed?
Elaborate on data security.| As part of the question: Why are databases needed?
Elaborate on scalabilitity.| As part of the question: Why are databases needed?
can be scaled by organisations who need to handle large amounts of data
Elaborate on perfomance.| As part of the question: Why are databases needed?
Elaborate on data sharing.| As part of the question: Why are databases needed?
What are database transactions?
Logical unit of work consisting of one or many operations that are executed together as a single atomic unit.
Transactions ensure that either _ operations are _ or _ are _ at all.
all,completed,none,executed
Transactions ensure that a _ remains in a _ _ even in the event of _ or _ _.
database,consistent,state,errors,system,failures
Database states refer to the _ of a database at any given _.
condition,time.
States are used to keep track of _ made to the database.
changes
Maintaining _ across _ maintains _.
consistancy,states,integrity.
What are database updates?
updates refer to changes made to the database.
_ operations maintain _ and integrity.
update, consistency
Why are locking mechanisms necessary?
They prevent conflict and inconsistencies.
_ transactions are conducted _.
concurrent,sequentially
Using _ created at _ allows changes to be _
logs,commit,reverted
What are the ACID properties of a database transaction?
Atomicity, consistency,isolation,durability