1.3.2 Flashcards

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

What is a primary key

A

A unique identifier for each record in a table

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

What is a foreign key

A

The attribute which links two tables together

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

What is a secondary key

A

An index other than the primary key used to search and sort through the database with more convince and speed

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

What does ACID stand for

A

Atomicity
Consistency
Isolation
Durability

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

Atomicity

A

Completing only part of a transaction can cause things to break. The best way to ensure this is to make transactions atomic. Meaning they cannot be broken down further.

A database management system ensures that every step must succeed before the database is permanently changed

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

Consistency

A

Every database has a set of rules about the kind of data held within its fields and the relationships between tables and keys.
Consistency means that a transaction must ensure that all database rules are being followed.

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

Isolation

A

No other transaction can interfere with the data being handled by the current transaction until it has completed its update

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

Durability

A

Whenever a transaction has taken place the update must remain in place even if there is a system failure, a durable transaction is recorded in such a way that the results cannot easily be lost

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