Chapter 9 - Databases - Specifically Normalization Flashcards
What is normalization?
The process of separating your data into tables and creating primary keys.
What is the main goal of normalization?
To make sure each piece of information appears in the database only once, to increase efficiency.
what are the three database rules to satisfy the “First Normal Form”?
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.
When should you not use normalization?
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.
When should you not use normalization?
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.