transaction processing Flashcards

(14 cards)

1
Q

Automatic data capture form

(MICR)

A

Cheques paid into the bank are scanned using magnetic ink character recognition

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

Automatic data capture form

Optical mark recognition (OMR )

A

scans documents such as lottery tickets, multiple choice questionnaires.

eg: surveys, and assesments

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

optical character recognition (OCR)

A

can be used to scan forms

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

transaction processing

A

A transaction is defined as a ​single operation executed on data​. However a collection of operations can also sometimes be considered a transaction.

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

ACID

stands for…

A

Atomicity, Consistency, Isolation, Durability and is a set of rules all DBMS must use to ensure data integrety

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

Atomicity:

A
  • All operations in a transaction succeed or fail as a whole
  • If any operation fails (eg power cut) , the transaction is rolled back
  • Ensures partial transactions do not occur
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Consistency:

A

A transaction must maintain the ​referential integrity rules​ between linked tables. EG it would not be possible to record a mark in RESULTS table for a student who is not in the STUDENT table in database

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

Isolation:

A
  • Transactions are isolated from each other
  • Intermediate states are not visible to other transactions
  • Prevents conflicts and data inconsistencies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Durability:

A
  • Committed transactions persist even in case of system failures
  • Ensures data is not lost once a transaction is complete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Record locking:

A

technique used in (DBMS) to prevent conflicting access to data by multiple transactions or processes

While one person is editing a record, this ‘locks’ the record so prevents others from accessing the same record.

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

problems with multi user databases.

multiple users

A

Allowing multiple users to simultaneously update a database table may cause one of the updates to be lost

When an item is updated, the entire record including the whole block in which the record is physically held) will be copied into the users own local memory area

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

Serialisation

A

this is a technique which ensures that transactions do not overlap with each other or lead to updates being lost. A transaction cannot start until the previous transaction is finished. It can be implemented using timestamp ordering

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

Timestamp ordering

A

whenever a transaction starts it is given a timestamp, so that if two transactions affect the same object (eg a record or a table) the transaction with the earliest timestamp should be applied first

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

Commitment ordering

A

used to ensure that transactions are not lost when two or more users are simultaneously trying to access the same database object.

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