Database normalization
-
Upload
baabtracom-first-coding-school-in-india -
Category
Technology
-
view
397 -
download
4
description
Transcript of Database normalization
![Page 1: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/1.jpg)
![Page 2: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/2.jpg)
Database Normalization
Arun .R. [email protected]/
arunrmenontwitter.com/iamarunmenonin.linkedin.com/in/
mearunmenon+919846629020
![Page 3: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/3.jpg)
Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring PartnerBaabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
![Page 4: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/4.jpg)
Database Normalization
• What is normalization?
• Need of normalization ?
![Page 5: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/5.jpg)
What is normalization?
• Database normalization is the process of organizing the fields and tables of a relational database.
• It is a multi-step process that puts data into tabular form and linking data using relation tables.
![Page 6: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/6.jpg)
Need of normalization ?
• Avoid redundancy.• Increase performance • Easy Updating• Accuracy
![Page 7: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/7.jpg)
• Advantages– Reduce redundancy – Easy data updation– Reduce errors
• Disadvantages– Increase number of tables– Complexity increases
![Page 8: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/8.jpg)
First Normal Form (1NF)
• A relation is said to be in 1NF if ,
all attributes contain atomic values.
![Page 9: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/9.jpg)
candidate keys {int_id,vchr_subject_opted}
Primary key {int_id}
![Page 10: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/10.jpg)
Second Normal Form(2NF)
• A table is in 2nf if
– It is in 1nf– Every non prime attribute must dependent on the
the entire primary key.
![Page 11: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/11.jpg)
candidate keys {int_id,vchr_subject_opted}
Primary key {int_id}
candidate keys {int_id,vchr_subject_opted}
![Page 12: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/12.jpg)
Third Normal Form(3NF)
• A table is in 3NF if
– It is in 2NF– No attributes is transitively dependent to primary
key
![Page 13: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/13.jpg)
Primary key {pk_int_stu_id}
Primary key {pk_int_stu_id}
Primary key {pk_int_zip_id}
![Page 14: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/14.jpg)
• Online Exam Management System• Users:• Admin• Student
• Admin • Login • View Profile• Edit Profile• Facility to manage student• Facility to manage exam• Student• Attend exams• View mark
![Page 15: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/15.jpg)
• tbl_user• tbl_user_role• tbl_log• tbl_user_details• tbl_subject• tbl_exam• tbl_question• tbl_options• tbl_answer• tbl_exam_details
![Page 16: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/16.jpg)
Tbl_user Tbl_user_roles
Tbl_log
Tbl_user_details
Tbl_subject
![Page 17: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/17.jpg)
tbl_exam
tbl_question
tbl_options
tbl_answer
tbl_exam_details
![Page 18: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/18.jpg)
Thank You
![Page 19: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/19.jpg)
Want to learn more about programming or Looking to become a good programmer?
Are you wasting time on searching so many contents online?
Do you want to learn things quickly?
Tired of spending huge amount of money to become a Software professional?
Do an online course @ baabtra.com
We put industry standards to practice. Our structured, activity based courses are so designed to make a quick, good software professional out of anybody who holds a passion for coding.
![Page 20: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/20.jpg)
Follow us @ twitter.com/baabtra
Like us @ facebook.com/baabtra
Subscribe to us @ youtube.com/baabtra
Become a follower @ slideshare.net/BaabtraMentoringPartner
Connect to us @ in.linkedin.com/in/baabtra
Give a feedback @ massbaab.com/baabtra
Thanks in advance
www.baabtra.com | www.massbaab.com |www.baabte.com
![Page 21: Database normalization](https://reader031.fdocuments.us/reader031/viewer/2022020207/555c3ec5d8b42a2c068b4c26/html5/thumbnails/21.jpg)
Emarald Mall (Big Bazar Building)Mavoor Road, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
NC Complex, Near Bus StandMukkam, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
Cafit Square,Hilite Business Park,Near Pantheerankavu,Kozhikode
Start up VillageEranakulam,Kerala, India.Email: [email protected]
Contact Us