RetiredDBA.com

Blog covers all things for Microsoft SQL Server


Gif provided by Giphy.com

Review of the article: Database Normalization in SQL with Examples by Gouri Shankar.

In Shankar’s words ” Database normalization is a technique that helps to efficiently organize data in a given database… systematic approach to decompose a larger table into smaller tables that would help to get rid of data redundancy…”

Shankar discusses database normalization with straight-forward examples of changing a database from first normal form to second normal form and third normal form. The article includes schema diagrams and scripts to make changes to the database during the discussion instead of just showing the before and after table changes.

Shankar walks through major points for third normal form database normalization such as:

  • Add a primary key
  • Split columns into two where needed
  • Remove repeating groups of columns
  • Columns relate to primary key of table
  • Columns in a table should rely only on the primary key and no other column

Normalizing a database is usually in the database developer task list. But my fellow DBA colleagues, this may fall in your laps sooner rather than later. In any case, you should be reviewing all the tables in your applications to ensure the rules of database normalization are followed correctly. Database design could be THE biggest reason you are having performance issues.

Of course, before you go off the deep end, do NOT start suggesting and making structure changes to the database without looking at the bigger picture and discussing with the database developers. You must also remember there are always exceptions to third normal form database normalization such as data warehouse applications, reports, etc.

I give the article “Database Normalization in SQL with Examples” by Gouri Shankar a thumbs up!

DBAs you are normal! Right?


Ad

Udemy – Microsoft SQL Server 2019 – An introduction

Udemy – Get top courses for as low as $12.99!

Pearson Education (InformIT) – eBook Deal of the Day

Edureka – Data Science Training by Edureka Drive Business Insights from Massive Data Sets Utilizing the Power of R Programming, Hadoop, and Machine Learning.

Pluralsight – Start your Free Trial today! – Don’t let technology outpace you. Work smarter and master your craft with a technology learning platform that will help you build better and create more.

Pluralsight – Get your Skill IQ with a Free Assessment from PluralSight

Coursera – You’ve got a deep network, a great resume, and a top-notch LinkedIn profile. Start building in-demand skills on Coursera, and your career will be ready to take off. Start your 7-day risk-free trial today. – Take the world’s best courses, online.

Whizlabs – Online Training for Agile Certified Practitioner (PMI ACP)® Certification Exam | Enroll Now

Edureka –


RetiredDBA.com is compensated if you click to an advertiser website and/or you make a purchase after clicking to an advertiser website. This does not INCREASE the price you pay. The income is used to continue to provide as much free content as possible.


Exit mobile version