DB 7 - Database Terms (Part 2) Flashcards

1
Q

What does normalizing a database mean?

A

the act of cleaning and organizing the database

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

What are the 2 conditions that are often looked after in database?

A
  • Ensuring data integrity
  • Reducing data redundancy
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is data integrity?

A

Refers to a condition in which the data in the database complies with all entity,domain and referential integrity constraints

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

Data integrity is assessed and enforced through 3 categories. What are those?

A

Referential integrity
Domain integrity
Entity integrity

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

Elaborate referential integrity

A

References in a database must exist in both the source and the destination of the reference records. Foreign key must reference a valid existing value in another table

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

Elaborate domain integrity

A

Placing boundaries on data to shape the data into the correct data type accepted by the database

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

Elaborate entity integrity

A

It ensures that the primary key that identifies a relation is always unique. It cannot be NULL

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

List 3 types of anomaly

A

Update anomaly
Deletion anomaly
Insertion anomaly

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