What is a Database?
A structured and persistent store of data for ease of processing; allowing for data to be:
- Retrieved quickly
- Updated easily
- Filtered for different views
What are Records
Describe a Flat-File Database
Describe a Relational database
Benefits of a Relational Database over a Flat File Database
Redundancy
Primary Key
What is Concatenated Primary Key?
When more than one field is added together to form a unique primary key for a table.
Foreign Key
Secondary Key
An attribute that is indexed and allows a group of records to be searched for quickly; usually more memorable than PK
Different types of Entity Relationship Modelling (ERM)
One to one relationship
One to many relationship
Many to many relationship
Database management
Handled by the database management system (DBMS) such as:
- MySQL
- Oracle
- Bigtable
Methods of Capturing Data
Methods of Exchanging Data
What is Normalisation?
The process of arranging data in tables, and setting their relationships to move them through normal forms.
What is Indexing?
The process of creating a database index, which is a data structure that improves the speed of data retrieval operations on a dataset table at the cost of additional writes and storage space to maintain the index data structure.
What is Normal Forms?
A way of structuring the data in a relational database according to formal rules, in order to avoid problems of efficiency and security in accessing and maintaining the data.
What is 0NF?
A table with no normalisation. All data and all fields in one table.
What is 1NF?
What is 2NF?
Data must be in 1NF and any partial dependencies must be removed
What is 3NF?
Data must be in 2NF and any transitive dependencies must be removed