• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » What is Database Normalization?

By Abhishek Ghosh November 14, 2021 5:35 pm Updated on November 14, 2021

What is Database Normalization?

Advertisement

Normalization of a relational data schema (table structure) is the division of attributes (table columns) into several relations (tables) according to the normalization rules (see below) so that a form is created that no longer contains redundancies.

A conceptual schema that contains data redundancies can result in changes to the database; it realizes not to change the multiple data contained units, but only partially and incompletely, making it obsolete or contradictory. One can speak of occurring anomalies. In addition, multiple storages of the same data take up unnecessary storage space. To prevent redundancy, such tables are normalized.

There are several degrees to which a database schema can be immune to anomalies. Depending on this, it is said that it is in the first, second, third, etc. normal form. These normal forms are defined by certain formal requirements for the schema. One brings a relational data schema into a normal form by progressively decomposing its relations into simpler ones based on their functional dependencies until no further decomposition is possible. However, data must not be lost under any circumstances. With Delobel’s theorem, one can formally prove for a decomposition step that it does not entail any data loss.

Advertisement

---

Normal forms fit into each other, so much so that respect for a normal form of the higher level implies respect for the normal forms of the lower levels. In the OLTP relational model, there are eight normal forms, the first three being the best known and used:

  • the first normal form denoted 1NF
  • the second normal form denoted 2NF
  • the third normal form denoted 3NF
  • the normal form of Boyce Codd denoted BCNF
  • the fourth normal form denoted 4NF
  • the fifth normal form denoted 5NF
  • the normal form key domain denoted DKNF
  • the sixth normal form denoted 6NF

The normal form comes after the simple validity of a relational model, that is, the values of the different attributes are functionally dependent on the primary key (completely determined by the primary key). Normalizing is mainly done in the phase of designing a relational database. For normalization, there are algorithms (synthesis algorithm (3NF), decomposition algorithm (BCNF), etc.) that can be automated. The decomposition methodology follows the relational design theory.

An example: A database contains names of the customers and their addresses as well as orders that are assigned to the customers. Since there can be several orders from the same customer, a recording of the customer data (possibly with address data) in the order table would lead to them occurring there several times, although the customer always has only one set of valid data (redundancy). For example, incorrect address data for the customer may be entered in one order, and the correct data is recorded in the next order. This can lead to contradictory data – in this table or compared to other tables. The data would then not be consistent, you would not know which data is correct. Maybe even both addresses are not correct because the customer has moved.

With a normalized database, there is only one entry for the customer data in the customer table to which each order of this customer is linked (usually via the customer number). In the case of the relocation of a customer (another example is the change of VAT), there would be several entries in the corresponding table, but these are additionally distinguishable by specifying a validity period and can be addressed in the above customer example via the combination order date/customer number.

What is Database Normalization

Weaknesses in the data model due to a lack of normalization can – in addition to the typical anomalies – mean a higher effort for later further development. On the other hand, normalization steps can be deliberately omitted in the database design for performance considerations (denormalization). A typical example of this is the star schema in the data warehouse.

The creation of a normalized schema is supported by automatic derivation from a conceptual data model; in practice, an extended entity-relationship model (ERM) or a class diagram of the Unified Modeling Language (UML) serves as a starting point. The relational schema derived from the conceptual design can then be checked with the help of normalizations; however, some formalisms and algorithms can already ensure this property.

This Article Has Been Shared 572 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to What is Database Normalization?

  • Apache Hadoop, Spark Vs. Elasticsearch/ELK Stack

    Apache Hadoop, Spark Vs. Elasticsearch aka ELK is a Good Topic. In Different Way – Why Peoples Use Elasticsearch When Hadoop, Spark Exists?

  • What is Graph Database?

    A graph database uses graph structures instead of tables or documents. Most graph database are not database as they do not store data.

  • What is Process Mining?

    Process Mining is a process management technique that enables business processes to be reconstructed and evaluated on the basis of digital traces in IT systems.

  • Machine Learning in Capital Markets : Part VI

    This is the continuation of part V of Machine Learning in Capital Markets. The determined values ​​can be converted into a uniform interval by scaling. The interval can range from -100 to +100 units. It is only important that all values ​​are scaled so that the relative size is not changed. In contrast to the […]

  • What is Statistical Classification

    In the field of machine learning and statistics, classification methods are methods and criteria for classifying objects or situations. Such a method is also referred to as a classifier. Many methods can be implemented as an algorithm; it is also referred to as machine or automatic classification. Classification methods are always application-related, so many different […]

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Safe Chargers for Samsung Galaxy S22 Ultra June 27, 2022
  • How Telecoms Can Use The Cloud To Power Their 5G Network June 24, 2022
  • A Beginner Guide to Cloud Computing for Development June 22, 2022
  • 5 Benefits of Using a Virtual Data Room Today June 19, 2022
  • Top System Administration Courses 2022 June 18, 2022

About This Article

Cite this article as: Abhishek Ghosh, "What is Database Normalization?," in The Customize Windows, November 14, 2021, June 28, 2022, https://thecustomizewindows.com/2021/11/what-is-database-normalization/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy