SlideShare a Scribd company logo
Database Models
1
Evolution of Database ModelsTimeline
2
1960s 1970s 1980s 1990s 2000+
File-based
Hierarchical
Network
Relational
Object-oriented
Web-based
Entity-Relationship
Database: Historical Roots
Manual File System
◦ to keep track of data
◦ used tagged file folders in a filing cabinet
◦ organized according to expected use
◦ e.g. file per customer
◦ easy to create, but hard to
◦ locate data
◦ aggregate/summarize data
Computerized File System
◦ to accommodate the data growth and information need
◦ manual file system structures were duplicated in the computer
◦ Data Processing (DP) specialists wrote customized programs to
◦ write, delete, update data (i.e. management)
◦ extract and present data in various formats (i.e. report)
3
File System: Example
4
Database Systems: file based database of different Sections
File System: Weakness
Weakness
◦ “Islands of data” in scattered file systems.
Problems
◦ Duplication
◦ same data may be stored in multiple files
◦ Inconsistency
◦ same data may be stored by different names in different format
◦ Rigidity
◦ requires customized programming to implement any changes
◦ cannot do ad-hoc queries
Implications
◦ Waste of space
◦ Data inaccuracies
◦ High overhead of data manipulation and maintenance
5
File System: Problem Case
6
CUSTOMER file AGENT file SALES file
A_Name (15 char)
Carol Johnson
A_Name (20 char)
Carol T. Johnson
AGENT (20 char)
Carol J. Smith
- inconsistent field name, field size
- inconsistent data values
- data duplication
Database System vs. File
System
7
Database Systems: Comparison between file system and DBMS
Relational Database
Problems with legacy database systems
◦ Required excessive effort to maintain
◦ Data manipulation (programs) too dependent on physical file structure
◦ Hard to manipulate by end-users
◦ No capacity for ad-hoc query (must rely on DB programmers).
Evolution in Data Organization
◦ E. F. Codd’s Relational Model proposal
◦ Separated the notion of physical representation (machine-view)
from logical representation (human-view)
◦ Considered ingenious but computationally impractical in 1970
◦ Relational Database Model
◦ Dominant database model of today
◦ Eliminated pointers and used tables to represent data
◦ Tables
◦ flexible logical structure for data representation
◦ a series of row/column intersections
◦ related by sharing common entity characteristic(s)
8
Relational Database: Example
9
 Provides a logical “human-level” view of the data and associations
among groups of data (i.e., tables)
Customer_ID Customer_Account Agent_ID
1224 4556 23
1225 4558 25
Agent_ID Last_Name First_Name Phone
23 Sturm David 334-5678
25 Long Kyle 556-3421
Customer_ID Last_Name First_Name Phone Account_Balance
1224 Vira Dyne 678-9987 1223.95
1225 Davies Tricia 556-3342 234.25
Relational Database: Pros & Cons
Advantages
◦ Structural independence
◦ Separation of database design and physical data storage/access
◦ Easier database design, implementation, management, and use
◦ Ad hoc query capability with Structured Query Language (SQL)
◦ SQL translates user queries to codes
Disadvantages
◦ Substantial hardware and system software overhead
◦ more complex system
◦ Poor design and implementation is made easy
◦ ease-of-use allows careless use of RDBMS
10
Entity Relationship Model
Peter Chen’s Landmark Paper in 1976
◦ “The Relationship Model: Toward a Unified View of Data”
◦ Graphical representation of entities and their relationships
Entity Relationship (ER) Model
◦ Based on Entity, Attributes & Relationships
◦ Entity is a thing about which data are to be collected and stored
◦ e.g. EMPLOYEE
◦ Attributes are characteristics of the entity
◦ e.g. SSN, last name, first name
◦ Relationships describe an associations between entities
◦ i.e. 1:M, M:N, 1:1
◦ Complements the relational data model concepts
◦ Helps to visualize structure and content of data groups
◦ entity is mapped to a relational table
◦ Tool for conceptual data modeling (higher level representation)
◦ Represented in an Entity Relationship Diagram (ERD)
◦ Formalizes a way to describe relationships between groups of data
11
E-R Diagram: Relationships
Entity
◦ represented by a rectangle with its name in capital
letters.
Relationships
◦ represented by an active or passive verb inside
the diamond that connects the related entities.
Connectivities
◦ i.e., types of relationship
◦ written next to each entity box.
12
Database Systems: Design, Implementation, & Management: Relationships
E-R Model: Pros & Cons
Advantages
◦ Exceptional conceptual simplicity
◦ easily viewed and understood representation of database
◦ facilitates database design and management
◦ Integration with the relational database model
◦ enables better database design via conceptual modeling
Disadvantages
◦ Incomplete model on its own
◦ Limited representational power
◦ cannot model data constraints not tied to entity relationships
◦ e.g. attribute constraints
◦ cannot represent relationships between attributes within entities
◦ No data manipulation language (e.g. SQL)
◦ Loss of information content
◦ Hard to include attributes in ERD
13
Web Database : Future of DBMS
Internet is emerging as a prime business tool
◦ Shift away from models (e.g. relational vs. O-O)
◦ Emphasis on interfacing with the Internet
Characteristics of “Internet age” databases
◦ Flexible, efficient, and secure Internet access
◦ Support for complex data types & relationships
◦ Seamless interfaces with multiple data sources and structures
◦ Ease of use for end-user, database architect, and database administrator
◦ Simplicity of conceptual database model
◦ Many database design, implementation, and application development tools
◦ Powerful DBMS GUI
14

More Related Content

PPTX
Dbms database models
PPTX
Data Models In Database Management System
PPTX
Dbms classification according to data models
PPTX
Types of databases
PPT
Different data models
PPTX
DBMS and its Models
PPTX
Datamodels & architecture
PDF
Data models
Dbms database models
Data Models In Database Management System
Dbms classification according to data models
Types of databases
Different data models
DBMS and its Models
Datamodels & architecture
Data models

What's hot (19)

PPTX
Introduction to database
PPTX
Type of database models
PPT
Week 3 Classification of Database Management Systems & Data Modeling
PPT
Database Management & Models
PPT
Fundamentals of Database ppt ch02
PDF
Dbms Notes Lecture 4 : Data Models in DBMS
PPT
Dbms Lec Uog 02
PPTX
Basic Concept of Database
PPTX
Importance of data model
PPTX
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
PPTX
Data models
PPT
Database concepts
PPTX
All data models in dbms
PPT
Types dbms
PPT
L7 data model and dbms architecture
PPS
Data models
PPT
Lecture 01 introduction to database
PPTX
Design approach
Introduction to database
Type of database models
Week 3 Classification of Database Management Systems & Data Modeling
Database Management & Models
Fundamentals of Database ppt ch02
Dbms Notes Lecture 4 : Data Models in DBMS
Dbms Lec Uog 02
Basic Concept of Database
Importance of data model
Kskv kutch university DBMS unit 1 basic concepts, data,information,database,...
Data models
Database concepts
All data models in dbms
Types dbms
L7 data model and dbms architecture
Data models
Lecture 01 introduction to database
Design approach
Ad

Similar to Database models unit 1 part 2 (20)

PPTX
Unit-I_dbms_TT_Final.pptx
PPTX
INFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptx
PPTX
Database overview
PDF
Unit 1 DBMS
PDF
1677091759369776.pdf
PPTX
Database Management System(UNIT 1)
PPTX
Database Management System(UNIT 1)
PPTX
Dbms unit i
PPTX
DBMS unit 1.pptx
PPTX
Database_Systems_(CSC_206)_-_2024-2025_STU_PT_1.pptx
PPTX
20CS402_Unit_1.pptx
PPTX
Data Models in Database Managment System
PPT
Database Management Systems Lecture notes Unit-1.ppt
PDF
DBMS Notes.pdf
PPTX
database management system anna universityUnit1.pptx
PPT
DBMS topic in PU
PDF
DBMS_in_5_hours__2__lyst1728638013316-invert.pdf
PPTX
DatabaseManagementSystem.pptx
PDF
Database management systems Lecture Notes
PPT
dbms intro
Unit-I_dbms_TT_Final.pptx
INFORMATION TECHNOLOGY PRESENTATION ON INFORMATON MANAGEMENT.pptx
Database overview
Unit 1 DBMS
1677091759369776.pdf
Database Management System(UNIT 1)
Database Management System(UNIT 1)
Dbms unit i
DBMS unit 1.pptx
Database_Systems_(CSC_206)_-_2024-2025_STU_PT_1.pptx
20CS402_Unit_1.pptx
Data Models in Database Managment System
Database Management Systems Lecture notes Unit-1.ppt
DBMS Notes.pdf
database management system anna universityUnit1.pptx
DBMS topic in PU
DBMS_in_5_hours__2__lyst1728638013316-invert.pdf
DatabaseManagementSystem.pptx
Database management systems Lecture Notes
dbms intro
Ad

More from Ram Paliwal (20)

PPTX
Mis classification By Ram K Paliwal
PPTX
Management inofrmation system basics by ram k paliwal
PPTX
Database design (entity attribute and its types) unit 2 part 4
PPTX
Database design (entity, entity set and entity type) unit 2 part 3
PPTX
Database design (conceptual, logical and physical design) unit 2 part 2
PPTX
Database development life cycle unit 2 part 1
PPTX
Memory hierarchy unit 2 by ram k paliwal
PPTX
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
PPTX
System component and system calls unit 1 by ram k paliwal
PPTX
Sdlc spiral model in software engineering basics by ram k paliwal
PPTX
Types of operating system unit 1 by Ram K Paliwal
PPTX
Software project planning in software engineering by ram k paliwal unit 2
PPTX
Software reuirement elicitation in software engineering basics by ram k paliwal
PPTX
Srs (software requirement specification) in software engineering basics by ra...
PPTX
Sdlc process models in software engineering basics by ram k paliwal
PPT
Database overview unit 4 part 1
PPTX
Database development life cycle unit 2 part 1
PPTX
Operating system basics function of os unit 1 by ram k paliwal part 1
PPTX
Software process in software engineering basics by ram k paliwal part 2
PPTX
Software and software engineering basics by ram k paliwal
Mis classification By Ram K Paliwal
Management inofrmation system basics by ram k paliwal
Database design (entity attribute and its types) unit 2 part 4
Database design (entity, entity set and entity type) unit 2 part 3
Database design (conceptual, logical and physical design) unit 2 part 2
Database development life cycle unit 2 part 1
Memory hierarchy unit 2 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
System component and system calls unit 1 by ram k paliwal
Sdlc spiral model in software engineering basics by ram k paliwal
Types of operating system unit 1 by Ram K Paliwal
Software project planning in software engineering by ram k paliwal unit 2
Software reuirement elicitation in software engineering basics by ram k paliwal
Srs (software requirement specification) in software engineering basics by ra...
Sdlc process models in software engineering basics by ram k paliwal
Database overview unit 4 part 1
Database development life cycle unit 2 part 1
Operating system basics function of os unit 1 by ram k paliwal part 1
Software process in software engineering basics by ram k paliwal part 2
Software and software engineering basics by ram k paliwal

Recently uploaded (20)

PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPT
Project quality management in manufacturing
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
Lecture Notes Electrical Wiring System Components
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Internet of Things (IOT) - A guide to understanding
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Project quality management in manufacturing
Operating System & Kernel Study Guide-1 - converted.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Model Code of Practice - Construction Work - 21102022 .pdf
CH1 Production IntroductoryConcepts.pptx
Foundation to blockchain - A guide to Blockchain Tech
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Digital Logic Computer Design lecture notes
Lecture Notes Electrical Wiring System Components
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Database models unit 1 part 2

  • 2. Evolution of Database ModelsTimeline 2 1960s 1970s 1980s 1990s 2000+ File-based Hierarchical Network Relational Object-oriented Web-based Entity-Relationship
  • 3. Database: Historical Roots Manual File System ◦ to keep track of data ◦ used tagged file folders in a filing cabinet ◦ organized according to expected use ◦ e.g. file per customer ◦ easy to create, but hard to ◦ locate data ◦ aggregate/summarize data Computerized File System ◦ to accommodate the data growth and information need ◦ manual file system structures were duplicated in the computer ◦ Data Processing (DP) specialists wrote customized programs to ◦ write, delete, update data (i.e. management) ◦ extract and present data in various formats (i.e. report) 3
  • 4. File System: Example 4 Database Systems: file based database of different Sections
  • 5. File System: Weakness Weakness ◦ “Islands of data” in scattered file systems. Problems ◦ Duplication ◦ same data may be stored in multiple files ◦ Inconsistency ◦ same data may be stored by different names in different format ◦ Rigidity ◦ requires customized programming to implement any changes ◦ cannot do ad-hoc queries Implications ◦ Waste of space ◦ Data inaccuracies ◦ High overhead of data manipulation and maintenance 5
  • 6. File System: Problem Case 6 CUSTOMER file AGENT file SALES file A_Name (15 char) Carol Johnson A_Name (20 char) Carol T. Johnson AGENT (20 char) Carol J. Smith - inconsistent field name, field size - inconsistent data values - data duplication
  • 7. Database System vs. File System 7 Database Systems: Comparison between file system and DBMS
  • 8. Relational Database Problems with legacy database systems ◦ Required excessive effort to maintain ◦ Data manipulation (programs) too dependent on physical file structure ◦ Hard to manipulate by end-users ◦ No capacity for ad-hoc query (must rely on DB programmers). Evolution in Data Organization ◦ E. F. Codd’s Relational Model proposal ◦ Separated the notion of physical representation (machine-view) from logical representation (human-view) ◦ Considered ingenious but computationally impractical in 1970 ◦ Relational Database Model ◦ Dominant database model of today ◦ Eliminated pointers and used tables to represent data ◦ Tables ◦ flexible logical structure for data representation ◦ a series of row/column intersections ◦ related by sharing common entity characteristic(s) 8
  • 9. Relational Database: Example 9  Provides a logical “human-level” view of the data and associations among groups of data (i.e., tables) Customer_ID Customer_Account Agent_ID 1224 4556 23 1225 4558 25 Agent_ID Last_Name First_Name Phone 23 Sturm David 334-5678 25 Long Kyle 556-3421 Customer_ID Last_Name First_Name Phone Account_Balance 1224 Vira Dyne 678-9987 1223.95 1225 Davies Tricia 556-3342 234.25
  • 10. Relational Database: Pros & Cons Advantages ◦ Structural independence ◦ Separation of database design and physical data storage/access ◦ Easier database design, implementation, management, and use ◦ Ad hoc query capability with Structured Query Language (SQL) ◦ SQL translates user queries to codes Disadvantages ◦ Substantial hardware and system software overhead ◦ more complex system ◦ Poor design and implementation is made easy ◦ ease-of-use allows careless use of RDBMS 10
  • 11. Entity Relationship Model Peter Chen’s Landmark Paper in 1976 ◦ “The Relationship Model: Toward a Unified View of Data” ◦ Graphical representation of entities and their relationships Entity Relationship (ER) Model ◦ Based on Entity, Attributes & Relationships ◦ Entity is a thing about which data are to be collected and stored ◦ e.g. EMPLOYEE ◦ Attributes are characteristics of the entity ◦ e.g. SSN, last name, first name ◦ Relationships describe an associations between entities ◦ i.e. 1:M, M:N, 1:1 ◦ Complements the relational data model concepts ◦ Helps to visualize structure and content of data groups ◦ entity is mapped to a relational table ◦ Tool for conceptual data modeling (higher level representation) ◦ Represented in an Entity Relationship Diagram (ERD) ◦ Formalizes a way to describe relationships between groups of data 11
  • 12. E-R Diagram: Relationships Entity ◦ represented by a rectangle with its name in capital letters. Relationships ◦ represented by an active or passive verb inside the diamond that connects the related entities. Connectivities ◦ i.e., types of relationship ◦ written next to each entity box. 12 Database Systems: Design, Implementation, & Management: Relationships
  • 13. E-R Model: Pros & Cons Advantages ◦ Exceptional conceptual simplicity ◦ easily viewed and understood representation of database ◦ facilitates database design and management ◦ Integration with the relational database model ◦ enables better database design via conceptual modeling Disadvantages ◦ Incomplete model on its own ◦ Limited representational power ◦ cannot model data constraints not tied to entity relationships ◦ e.g. attribute constraints ◦ cannot represent relationships between attributes within entities ◦ No data manipulation language (e.g. SQL) ◦ Loss of information content ◦ Hard to include attributes in ERD 13
  • 14. Web Database : Future of DBMS Internet is emerging as a prime business tool ◦ Shift away from models (e.g. relational vs. O-O) ◦ Emphasis on interfacing with the Internet Characteristics of “Internet age” databases ◦ Flexible, efficient, and secure Internet access ◦ Support for complex data types & relationships ◦ Seamless interfaces with multiple data sources and structures ◦ Ease of use for end-user, database architect, and database administrator ◦ Simplicity of conceptual database model ◦ Many database design, implementation, and application development tools ◦ Powerful DBMS GUI 14