Difference between Generalization and Specialization
Generalization vs Specialization:
Generalization | Specialization |
---|---|
1. Generalization is a process of taking the union of two or more lower-level entity sets to produce a higher-level entity set. | 1. Specialization is a process of taking a subset of a higher-level entity set to form a lower-level entity set. |
2. It works in the Bottom-up approach | 2. It works in a Top-down approach |
3. Generalization reduces the size of a schema. | 3. Specialization increases the size of a schema. |
4. Generalization results in forming a single entity from multiple entities. | 4. Specialization results in forming the multiple entity from a single entity. |
5. Generalization is applied to a group of entities. | 5. Specialization is applied to a single entity. |