Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is database normalization still necessary?

Is database normalization still "the thing?"

When I studied during a databases course we were taught all levels of normalization and were said that we must always do it.

Now, with all the NoSQL movement, it seems normalization is no longer the thing to do?

like image 860
bodacydo Avatar asked Jan 31 '10 19:01

bodacydo


People also ask

Is normalization necessary for database?

It is important that a database is normalized to minimize redundancy (duplicate data) and to ensure only related data is stored in each table. It also prevents any issues stemming from database modifications such as insertions, deletions, and updates. The stages of organization are called normal forms.

What happens if you don't normalize a database?

Without normalization, database systems can be inaccurate, slow, and inefficient and they might not produce the data you expect. We use the normalization process to design efficient and functional databases. By normalizing, we store data where it logically and uniquely belongs.

Is database normalization always beneficial?

And we already know that normalization gives us many advantages and benefits, such as: Make the Database Smaller by eleminating redundant data, by doing this the data will be easier to manage and saves us more space of storage. Better Performance because the smaller the data, the faster i tis to be processed.


1 Answers

It depends on what type of application(s) are using the database.

For OLTP apps (principally data entry, with many INSERTs, UPDATEs and DELETES, along with SELECTs), normalized is generally a good thing.

For OLAP and reporting apps, normalization is not helpful. SELECT queries will run much more quickly against a denormalized schema, which could be achieved with views.

You might also find some helpful information in these very popular similar questions:

Should I normalize my DB or not?

In terms of databases, is “Normalize for correctness, denormalize for performance” a right mantra?

What is the resource impact from normalizing a database?

How to convince someone to normalize a database?

Is it really better to use normalized tables?

like image 167
DOK Avatar answered Nov 07 '22 21:11

DOK