CRUD , ACID , Transaction processing...ect Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Transaction processing

A

Operations that are individual and indivisible.
- each transaction must either succeed or fail as a complete unit
- change the contents of the database

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

CRUD

A
  • Create
  • Read
  • Update
  • Delete

This is the minimum functionality required for a transactional database

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

Committing

A

Only making changes to a database when all external aspects of a transaction are complete

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

ACID

A
  • Atomicity
  • Consistency
  • Isolation
  • Durability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Atomicity

A

Transactions either fail or succeed , never partially succeed.

  • A change in the database must be completed or not at all
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Consistency

A

Transaction must only change the database according to the rules of the database (database must go from one consistent state to another)

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

Isolation

A

A transaction must not overwrite or affect another.
- e.g. a ticket is locked so others can not purchase
- this is until purhcase is complete or timed out

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

Durability

A

Once a transaction is started its data is protected until it is completed or fails
- changed made by a transaction must persist

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

Deadlock

A

2 users are attempting to make changes to the same record at the same time. this will make it impossible to submit one consistant form of the record

  • locking the record to one user at a time resolves this problem
  • part of isolation in ACID
  • machine learning is generally used for this
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Data mining

A

Analysis of large sets of data to identify patterns and relationships (generally for commercial use)
- supermarkets
- amazon (reccomend items)
- medicine (predict problems)

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