Lecture 4 Database Models
Lecture 4 Database Models
A database model defines the logical structure of a database and determines how data is stored,
organized, and manipulated. It acts as a blueprint for designing databases.
1. Hierarchical Model
Each parent can have multiple children, but each child has only one parent.
Example:
Company (Parent)
├── Employee 1
├── Employee 2
├── Employee 3
├── Employee 4
2. Network Model
Data is stored in tables (relations) consisting of rows (tuples) and columns (attributes).
4. Object-Oriented Model
Conclusion
Each database model has strengths and weaknesses. The choice depends on the use case, performance
needs, and scalability requirements.