Вы находитесь на странице: 1из 1

DATA

CURATOR
Level 1
NORMALIZATION
Normalization is the process of accommodating the database according to the entity-relationship model.
USERS
Name Company Company_address url 1 url 2 url 3
Juan Palomo Montes Alba Mayor,34. Villaconejos www.melones.es www.productos.com
Arguiñano Restaurante Pi Luna, 52. Donostia www.comer.com www.productos.com www.nueva.es

In the rst normal form, the repeated elds USERS


are grouped into one, using the primary
Key Name Company Commpany_address url
key of each record. …one, using the
Montes Alba Mayor,34. Villaconejos www.melones.es
1 Juan Palomo

1
primary key…
Make sure each row: 1 Juan Palomo Montes Alba Mayor,34. Villaconejos www.productos.com
2 Arguiñano Restaurante Pi Luna, 52. Donostia www.comer.com
• Has a primary key
2 Arguiñano Restaurante Pi Luna, 52. Donostia www.productos.com
• Is unique and independent
1 Juan Palomo Montes Alba Mayor,34. Villaconejos www.nueva.es
• Doesn’t have null elds

url
The second form separates USERS
Key Com url
the repeated data into individual www.melones.es

2
1 1
Key Name Company Company_address
tables, and at the same time, it Montes Alba Mayor,34. Villaconejos
2 1 www.productos.com
1 Juan Palomo
relates them to a foreign key. 3 2 www.comer.com
2 Arguiñano Restaurante Pi Luna, 52. Donostia
4 2 www.productos.com
5 1 www.nueva.es
and at the same time, it relates
them to a foreign key.

The third normal form disaggregates elds that don’t depend url
on the primary keys and places them in a new table. Key Com url

3
1 1 www.melones.es
Contacts COMPANY 2 1 www.productos.com
Key Name Com Key Company Address 3 2 www.comer.com
1 Juan Palomo 1 1 Montes Alba Mayor,34. Villaconejos 4 2 www.productos.com
2 Arguiñano 2 2 Restaurante Pi Luna, 52. Donostia 5 1 www.nueva.es

Text
A properly related and standardized database prevents data from being repeated.
This way less storage space is used and queries are faster.

Вам также может понравиться