1.3.2 Databases Flashcards
1
Q
relational db
A
- easy to add data
- easy to link to other applications
- easy to change format
- no redundant data/data duplication
- data integrity
- larger volume of data
2
Q
flat file db
A
- limited amount of data
- difficult to change format
- harder to update
- no specialist knowledge needed to operate
3
Q
primary key
A
- a field with a unique value
- unique identifier for every record in that table
4
Q
foreign key
A
- field that links to a primary key in another table
5
Q
capturing data
A
- manually entered via form
- magnetic ink character
- optical mark recognition
- optical character recognition
6
Q
transaction
A
a set of CRUD operations on a database
7
Q
atomic
A
the transaction is either fully processed, or it isn’t executed at all
8
Q
concistency
A
- all validation rules are followed
- helps to maintain referential integrity => all referenced (eg. foreign keys) are always valid. ensures that changes are consistent across all datbases.
- solutions: error, cascade delete
9
Q
isolation
A
the result of transactions processed concurrently is the same as if they are processed sequentially
10
Q
durability
A
- protecting/securing data from power cuts/system failures
- this can be done using secondary storage (ram is volatile), or backing up data onto cloud services
11
Q
record locking
A
- one user/process can access and modify record level data at any one time
- data that is being used elsewhere cannot be modified
12
Q
redundancy
A
having one or more copies of the data in physically different locations so if there is any damage to one copy, others can be recovered