Database normalization

Preview:

DESCRIPTION

Database normalization

Citation preview

Database Normalization

Arun .R. Menonarunrmenon555@gmail.comwww.facebook.com/

arunrmenontwitter.com/iamarunmenonin.linkedin.com/in/

mearunmenon+919846629020

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

Database Normalization

• What is normalization?

• Need of normalization ?

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.

Need of normalization ?

• Avoid redundancy.• Increase performance • Easy Updating• Accuracy

• Advantages– Reduce redundancy – Easy data updation– Reduce errors

• Disadvantages– Increase number of tables– Complexity increases

First Normal Form (1NF)

• A relation is said to be in 1NF if ,

all attributes contain atomic values.

candidate keys {int_id,vchr_subject_opted}

Primary key {int_id}

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.

candidate keys {int_id,vchr_subject_opted}

Primary key {int_id}

candidate keys {int_id,vchr_subject_opted}

Third Normal Form(3NF)

• A table is in 3NF if

– It is in 2NF– No attributes is transitively dependent to primary

key

Primary key {pk_int_stu_id}

Primary key {pk_int_stu_id}

Primary key {pk_int_zip_id}

• 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

• tbl_user• tbl_user_role• tbl_log• tbl_user_details• tbl_subject• tbl_exam• tbl_question• tbl_options• tbl_answer• tbl_exam_details

Tbl_user Tbl_user_roles

Tbl_log

Tbl_user_details

Tbl_subject

tbl_exam

tbl_question

tbl_options

tbl_answer

tbl_exam_details

Thank You

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.

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

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: info@baabtra.com

Contact Us