Compare the Difference Between Similar Terms

Difference Between

Home / Technology / IT / Database / Difference Between Generalization and Specialization in DBMS

Difference Between Generalization and Specialization in DBMS

March 23, 2018 Posted by Lithmee

Key Difference – Generalization vs Specialization in DBMS
 

The key difference between Generalization and Specialization in DBMS is that Generalization is the process of combining lower level entities to produce the higher-level entity while Specialization is the process of dividing the higher-level entity into lower level entities.

Every organization need to store data according to the requirement. There is various type of data, and there should be a mechanism to organize them. A Database Management System (DBMS) can be used to store, update, manage and retrieve data efficiently. Before storing the data in the database, there should be a visual representation of the database to be designed. An Entity Relationship (ER) diagram can be used to get the conceptual understanding of the database. The ER diagram is based on ER model. With the complexity of data, the ER model was developed further. It is known as an Enhanced Entity Relationship model (EER). The diagram based on EER model is called the Enhanced ER diagram. Generalization and Specialization are two concepts of Enhanced ER model that can be applied to draw EER diagram.

CONTENTS

1. Overview and Key Difference
2. What is Generalization in DBMS
3. What is Specialization in DBMS
4. Relationship Between Generalization and Specialization in DBMS
5. Side by Side Comparison – Generalization vs Specialization in DBMS in Tabular Form
6. Summary

What is Generalization in DBMS?

An entity refers to a real-world object, and there are relationships among the entities. The ER diagram is based on the Entity-relationship (ER) model. The Entity relationship model is model used to design and represent the relationships between data. In a Medical Center database, there can be an entity such as patient, doctor, staff member etc. Each entity has properties that describe them. They are known as attributes. The patient entity can have attributes such as patient_id, name, address, telephone etc. The association among entities is known as a relationship.

With the complexity of the data, the original ER model was developed further. It is known as Enhanced ER (EER) model. The diagram based on EER model is called the Enhanced ER (EER) diagram. Generalization is a concept which can be used when drawing the EER diagram. In Generalization, the lower entities can be combined into a higher-level entity. It is also known as bottom up approach.  In this approach, the entities are combined together to perform a generalized entity.

Generalization and Specialization in DBMS

Figure 01: Generalization, the bottom up approach

According to the above diagram, there are two entities called Student and Lecturer.  The Student entity contains attributes student_id, name and city. The Lecturer contains attributes lecturer_id, name and city. Both can be combined together to create the Person entity. The name and city attributes are common to both entities. Therefore, they can be placed in Person entity. The Student entity has its own attribute student_id. The Lecturer entity has its own attribute lecturer_id. The entities Student and Lecturer are generalized further into Person entity.

What is Specialization in DBMS?

Specialization is the opposite of Generalization. In specialization, the higher-level entity can be broken down into lower level entities. The higher-level entity is specialized further. It is also known as top down approach. Consider, the same example as above.

Key Generalization and Specialization in DBMS

Figure 02: Specialization, the top down approach

According to the above diagram, the entity Person can be further broken down into specialized entities which are Student and Lecturer. The Person entity has name and city entities. Therefore, those attributes also belong to Student and Lecturer entities. The Student entity contains the name and city attributes and its own attribute that is student_id. The Lecturer entity contains the name, city attributes and its own attribute which is lecturer_id. It can be observed that the Person entity is specialized further into Student and Lecturer.

What is the Relationship Between Generalization and Specialization in DBMS?

  • Generalization is the opposite of Specialization and Specialization is the opposite of Generalization.

What is the Difference Between Generalization and Specialization in DBMS?

Generalization vs Specialization in DBMS

Generalization is the process of combining lower level entities to produce the higher-level entity. Specialization is the process of dividing the higher-level entity into lower level entities.
 Synonyms
Generalization is known as bottom up approach. Specialization is known as top down approach.
Main Task
In Generalization, a number of entities are brought together into one generalized entity based on their similar characteristics. In specialization, an entity is divided into sub-entities based on their characteristics.

Summary – Generalization vs Specialization in DBMS

ER diagrams are used to model the structure of the database. It provides a conceptual understanding of the database. It is based on ER model. ER model was developed further, and it is known as the Enhanced ER model. The diagram based EER model is the EER model. Generalization and Specialization are two concepts that can be applied when drawing an Enhanced ER diagram. The difference between Generalization and Specialization in DBMS is that Generalization is the process of combining lower level entities to produce the higher-level entity while Specialization is the process of dividing the higher-level entity into lower level entities. This article discusses the difference between Generalization and Specialization in DBMS.

Reference:

1.“The Enhanced ER Model.” Generalization, Specialization and Aggregation in ER Model | Studytonight. Available here
2.“Generalization Aggregation.” Www.tutorialspoint.com, Tutorials Point, 8 Jan. 2018. Available here

Related posts:

Difference Between DBMS and Database Difference Between DBMS and Data Mining Difference Between Oracle 10g and 11g Difference Between ORACLE Dataguard and Real Application Cluster (RAC) Difference Between Database and Data WarehouseDifference Between Database and Data Warehouse

Filed Under: Database Tagged With: Compare Generalization and Specialization in DBMS, Generalization and Specialization in DBMS Differences, Generalization and Specialization in DBMS Similarities, Generalization in DBMS, Generalization in DBMS Definition, Generalization in DBMS Process, Generalization in DBMS Synonyms, Generalization in DBMS Task, Generalization vs Specialization in DBMS, Specialization in DBMS, Specialization in DBMS Definition, Specialization in DBMS Process, Specialization in DBMS Synonyms, Specialization in DBMS Task

About the Author: Lithmee

Lithmee Mandula is a BEng (Hons) graduate in Computer Systems Engineering. She is currently pursuing a Master’s Degree in Computer Science. Her areas of interests in writing and research include programming, data science, and computer systems.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Request Article

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and SARS

Difference Between Coronavirus and SARS

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

You May Like

Difference Between Physical and Biological Science

Difference Between Private Hospitals and Public Hospitals

Difference Between Private Hospitals and Public Hospitals

Difference Between Airtel live and GPRS

Difference Between Luther and Calvin

Difference Between Natural Law and Legal Positivism

Difference Between Natural Law and Legal Positivism

Latest Posts

  • What is the Difference Between COPD and Lung Cancer
  • What is the Difference Between Silk and Cotton
  • What is the Difference Between Galactosemia and Lactose Intolerance
  • What is the Difference Between Glycosuria and Glucosuria
  • What is the Difference Between Menkes and Wilson’s Disease
  • What is the Difference Between Xerophthalmia and Keratomalacia
  • Home
  • Vacancies
  • About
  • Request Article
  • Contact Us

Copyright © 2010-2018 Difference Between. All rights reserved. Terms of Use and Privacy Policy: Legal.