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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

flat file db

A
  • limited amount of data
  • difficult to change format
  • harder to update
  • no specialist knowledge needed to operate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

primary key

A
  • a field with a unique value
  • unique identifier for every record in that table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

foreign key

A
  • field that links to a primary key in another table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

capturing data

A
  • manually entered via form
  • magnetic ink character
  • optical mark recognition
  • optical character recognition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

transaction

A

a set of CRUD operations on a database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

atomic

A

the transaction is either fully processed, or it isn’t executed at all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

isolation

A

the result of transactions processed concurrently is the same as if they are processed sequentially

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly