transaction processing Flashcards

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

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

Atomicity:

A

A transaction must be ​processed in its entirety or not at all in any situation including a power cut​ or hard disk crashes. It is not possible to process only one part of a transaction.

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

Simultaneous executions of transactions should lead to the same result​ as if they were executed one after the other.

A transaction cannot be interrupted by another transaction.

This transaction must occur in isolation so the other users or processes cannot access the database.

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

Durability:

A

Once a transaction has been executed it ​will remain so​ regardless of the circumstances surrounding it, such as in the event of a power cut.

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

Record locking:

A

​preventing simultaneous access to records​ in a database
it is used in order to ​prevent inconsistencies​ or a ​loss of updates​.

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

Record locks

A

preventing simultaneous access to records​ in a database
it is used in order to ​prevent inconsistencies​ or a ​loss of updates​.
While one person is editing a record, this ‘locks’ the record so prevents others from accessing the same record. (read only if someone else is in it)

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