Chapter 9 - Databases - Specifically Normalization Flashcards

1
Q

What is normalization?

A

The process of separating your data into tables and creating primary keys.

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

What is the main goal of normalization?

A

To make sure each piece of information appears in the database only once, to increase efficiency.

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

what are the three database rules to satisfy the “First Normal Form”?

A

There shuld be no repeating columns containing the same kind of data.

All columns should contain a single value.

There should be a primary key to uniquely identify each row.

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

When should you not use normalization?

A

On high traffic sites.

normalization requires spreading data across multiple tables, and this means making multiple calls to MySQL for each query. On a very popular site, if you have a normalized tables, your database access will slow down considerable once you get above a few dozen concurrent users.

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

When should you not use normalization?

A

On high traffic sites.

normalization requires spreading data across multiple tables, and this means making multiple calls to MySQL for each query. On a very popular site, if you have a normalized tables, your database access will slow down considerable once you get above a few dozen concurrent users.

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