SlideShare ist ein Scribd-Unternehmen logo
1 von 49
[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
History of Database Systems ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Magnetic tape unit Magnetic tape Hard disk
History (cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
 
 
 
 
 
 
Database Design ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Modeling ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Entity Sets customer and loan customer_id  customer_  customer_  customer_  loan_  amount   name  street  city  number
Attributes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Example:  customer =  ( customer_id, customer_name,    customer_street, customer_city  ) loan =  ( loan_number, amount  )
Composite Attributes
Mapping Cardinality Constraints ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Mapping Cardinalities One to one One to many Note: Some elements in  A  and  B  may not be mapped to any  elements in the other set
Mapping Cardinalities   Many to one Many to many Note: Some elements in A and B may not be mapped to any  elements in the other set
ER Model Basics ,[object Object],[object Object],[object Object],[object Object],[object Object],Employees ssn name lot
ER Model Basics (Contd.) ,[object Object],[object Object],[object Object],[object Object],lot dname budget did since name Works_In Departments Employees ssn Reports_To lot name Employees subordinate super-visor ssn
Relationship Sets ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Relationship Set  borrower
Relationship Sets (Cont.) ,[object Object],[object Object]
Degree of a Relationship Set ,[object Object],[object Object],[object Object]
Degree of a Relationship Set ,[object Object],[object Object]
Key Constraints ,[object Object],[object Object],Many-to-Many 1-to-1 1-to Many Many-to-1 budget did Departments Additional features of the ER model dname since lot name ssn Manages Employees
Participation Constraints ,[object Object],[object Object],[object Object],lot name dname budget did since name dname budget did since Manages since Departments Employees ssn Works_In
Weak Entities ,[object Object],[object Object],[object Object],lot name age pname Dependents Employees ssn Policy cost
Weak Entity Sets ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Weak Entity Sets (Cont.) ,[object Object],[object Object],[object Object],[object Object]
Weak Entity Sets (Cont.) ,[object Object],[object Object]
More Weak Entity Set Examples ,[object Object],[object Object],[object Object],[object Object]
ISA (`is a’) Hierarchies ,[object Object],[object Object],[object Object],[object Object],[object Object],Contract_Emps name ssn Employees lot hourly_wages ISA Hourly_Emps contractid hours_worked ,[object Object],[object Object],[object Object],[object Object],[object Object]
Aggregation ,[object Object],[object Object],[object Object],[object Object],[object Object],budget did pid started_on pbudget dname until Departments Projects Sponsors Monitors lot name ssn since Employees
Aggregation ,[object Object],[object Object]
Aggregation (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Aggregation (Cont.) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
E-R Diagram With Aggregation
Conceptual Design Using the ER Model ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Entity vs. Attribute ,[object Object],[object Object],[object Object],[object Object]
Entity vs. Attribute (Contd.) ,[object Object],[object Object],Works_In4 from to budget Departments name Departments ssn lot Employees Works_In4 name Employees ssn lot dname did dname budget did Duration from to
Entity vs. Relationship ,[object Object],[object Object],[object Object],[object Object],Manages2 name dname budget did Employees Departments ssn lot dbudget since dname budget did Departments Manages2 Employees name ssn lot since Managers dbudget ISA This fixes the problem!
Binary vs. Ternary Relationships ,[object Object],[object Object],age pname Dependents Covers age pname Dependents Purchaser Bad design Better design name Employees ssn lot Policies policyid cost Beneficiary policyid cost Policies name Employees ssn lot
Binary vs. Ternary Relationships (Contd.) ,[object Object],[object Object],[object Object],[object Object]
Summary of Conceptual Design ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Summary of ER (Contd.) ,[object Object],[object Object],[object Object]
Summary of ER (Contd.) ,[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Was ist angesagt?

Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Slideshare
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagram
Tech_MX
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
guest1e0229a
 

Was ist angesagt? (20)

Data model and entity relationship
Data model and entity relationshipData model and entity relationship
Data model and entity relationship
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
03 Ch3 Notes Revised
03 Ch3 Notes Revised03 Ch3 Notes Revised
03 Ch3 Notes Revised
 
enhanced er diagram
enhanced er diagramenhanced er diagram
enhanced er diagram
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
The entity relationship model
The entity relationship modelThe entity relationship model
The entity relationship model
 
Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)Database Systems - Entity Relationship Modeling (Chapter 4/2)
Database Systems - Entity Relationship Modeling (Chapter 4/2)
 
Entity relationship modelling
Entity relationship modellingEntity relationship modelling
Entity relationship modelling
 
Chapter2
Chapter2Chapter2
Chapter2
 
ER Diagram
ER DiagramER Diagram
ER Diagram
 
How to Draw an Effective ER diagram
How to Draw an Effective ER diagramHow to Draw an Effective ER diagram
How to Draw an Effective ER diagram
 
Entity relationship diagram
Entity relationship diagramEntity relationship diagram
Entity relationship diagram
 
Er Model Nandha&Mani
Er Model Nandha&ManiEr Model Nandha&Mani
Er Model Nandha&Mani
 
Data modeling
Data modelingData modeling
Data modeling
 
ER Model in DBMS
ER Model in DBMSER Model in DBMS
ER Model in DBMS
 
Entity Relationship Diagrams
Entity Relationship DiagramsEntity Relationship Diagrams
Entity Relationship Diagrams
 
Entity Relationship Diagram
Entity Relationship DiagramEntity Relationship Diagram
Entity Relationship Diagram
 
E r model
E r modelE r model
E r model
 
E R Diagram
E R DiagramE R Diagram
E R Diagram
 
Entity relationship diagram for dummies
Entity relationship diagram for dummiesEntity relationship diagram for dummies
Entity relationship diagram for dummies
 

Andere mochten auch

Cardinality and participation constraints
Cardinality and participation constraintsCardinality and participation constraints
Cardinality and participation constraints
Nikhil Deswal
 
Fanelli,Anthony_WNYResume_Y
Fanelli,Anthony_WNYResume_YFanelli,Anthony_WNYResume_Y
Fanelli,Anthony_WNYResume_Y
Tony Fanelli
 
12 Disruptive Forces in Healthcare
12 Disruptive Forces in Healthcare12 Disruptive Forces in Healthcare
12 Disruptive Forces in Healthcare
Tony Fanelli
 

Andere mochten auch (20)

Cardinality and participation constraints
Cardinality and participation constraintsCardinality and participation constraints
Cardinality and participation constraints
 
Er diagrams presentation
Er diagrams presentationEr diagrams presentation
Er diagrams presentation
 
Relationship in database
Relationship in databaseRelationship in database
Relationship in database
 
Cardinality
CardinalityCardinality
Cardinality
 
Fanelli,Anthony_WNYResume_Y
Fanelli,Anthony_WNYResume_YFanelli,Anthony_WNYResume_Y
Fanelli,Anthony_WNYResume_Y
 
Difference between association, aggregation and composition
Difference between association, aggregation and compositionDifference between association, aggregation and composition
Difference between association, aggregation and composition
 
Challenger-Selling
Challenger-SellingChallenger-Selling
Challenger-Selling
 
Erd optionality
Erd optionalityErd optionality
Erd optionality
 
Challenger-Data
Challenger-DataChallenger-Data
Challenger-Data
 
12 Disruptive Forces in Healthcare
12 Disruptive Forces in Healthcare12 Disruptive Forces in Healthcare
12 Disruptive Forces in Healthcare
 
Slide 6 er strong & weak entity
Slide 6 er  strong & weak entitySlide 6 er  strong & weak entity
Slide 6 er strong & weak entity
 
DBMS Keys
DBMS KeysDBMS Keys
DBMS Keys
 
Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013Dbms ii mca-ch3-er-model-2013
Dbms ii mca-ch3-er-model-2013
 
CEB_Branding For Influence_Oct 14
CEB_Branding For Influence_Oct 14CEB_Branding For Influence_Oct 14
CEB_Branding For Influence_Oct 14
 
ESR Presentation from Sales 2.0 Conference, Boston
ESR Presentation from Sales 2.0 Conference, BostonESR Presentation from Sales 2.0 Conference, Boston
ESR Presentation from Sales 2.0 Conference, Boston
 
Entity (types, attibute types)
Entity (types, attibute types)Entity (types, attibute types)
Entity (types, attibute types)
 
20 Must-Have Resources Every Sales Manager Needs
20 Must-Have Resources Every Sales Manager Needs20 Must-Have Resources Every Sales Manager Needs
20 Must-Have Resources Every Sales Manager Needs
 
How ISVs Can Migrate to SaaS Faster
How ISVs Can Migrate to SaaS FasterHow ISVs Can Migrate to SaaS Faster
How ISVs Can Migrate to SaaS Faster
 
Matt Dixon - The Challenger Sale: Driving Sales Growth by Taking Control of t...
Matt Dixon - The Challenger Sale: Driving Sales Growth by Taking Control of t...Matt Dixon - The Challenger Sale: Driving Sales Growth by Taking Control of t...
Matt Dixon - The Challenger Sale: Driving Sales Growth by Taking Control of t...
 
The 25 most important tenets of the Challenger Sale approach
The 25 most important tenets of the Challenger Sale approachThe 25 most important tenets of the Challenger Sale approach
The 25 most important tenets of the Challenger Sale approach
 

Ähnlich wie Unit02 dbms

Ähnlich wie Unit02 dbms (20)

Basic concepts of Data and Databases
Basic concepts of Data and Databases Basic concepts of Data and Databases
Basic concepts of Data and Databases
 
Chapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptxChapter 2. Concepctual design -.pptx
Chapter 2. Concepctual design -.pptx
 
L7 er2
L7 er2L7 er2
L7 er2
 
E R Model details.ppt
E R Model details.pptE R Model details.ppt
E R Model details.ppt
 
Datastage database design and data modeling ppt 4
Datastage database design and data modeling ppt 4Datastage database design and data modeling ppt 4
Datastage database design and data modeling ppt 4
 
27 fcs157al3
27 fcs157al327 fcs157al3
27 fcs157al3
 
Unit 3 final.pptx
Unit 3 final.pptxUnit 3 final.pptx
Unit 3 final.pptx
 
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...Fundamentals of database system  - Data Modeling Using the Entity-Relationshi...
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...
 
E r model
E r modelE r model
E r model
 
Er diagrams
Er diagramsEr diagrams
Er diagrams
 
Conceptual Modeling of Data
Conceptual Modeling of DataConceptual Modeling of Data
Conceptual Modeling of Data
 
dbms er model
dbms er modeldbms er model
dbms er model
 
Data & Databases
Data & Databases Data & Databases
Data & Databases
 
database1
database1database1
database1
 
Database design
Database designDatabase design
Database design
 
ER model
ER modelER model
ER model
 
Er model
Er modelEr model
Er model
 
dbms
dbmsdbms
dbms
 
Test presentation
Test presentationTest presentation
Test presentation
 
U2_ER_modeling.pptx
U2_ER_modeling.pptxU2_ER_modeling.pptx
U2_ER_modeling.pptx
 

Mehr von arnold 7490 (20)

Les14
Les14Les14
Les14
 
Les13
Les13Les13
Les13
 
Les11
Les11Les11
Les11
 
Les10
Les10Les10
Les10
 
Les09
Les09Les09
Les09
 
Les07
Les07Les07
Les07
 
Les06
Les06Les06
Les06
 
Les05
Les05Les05
Les05
 
Les04
Les04Les04
Les04
 
Les03
Les03Les03
Les03
 
Les02
Les02Les02
Les02
 
Les01
Les01Les01
Les01
 
Les12
Les12Les12
Les12
 
Unit 8 Java
Unit 8 JavaUnit 8 Java
Unit 8 Java
 
Unit 6 Java
Unit 6 JavaUnit 6 Java
Unit 6 Java
 
Unit 5 Java
Unit 5 JavaUnit 5 Java
Unit 5 Java
 
Unit 4 Java
Unit 4 JavaUnit 4 Java
Unit 4 Java
 
Unit 3 Java
Unit 3 JavaUnit 3 Java
Unit 3 Java
 
Unit 2 Java
Unit 2 JavaUnit 2 Java
Unit 2 Java
 
Unit 1 Java
Unit 1 JavaUnit 1 Java
Unit 1 Java
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Unit02 dbms

Hinweis der Redaktion

  1. 2
  2. 3 The slides for this text are organized into several modules. Each lecture contains about enough material for a 1.25 hour class period. (The time estimate is very approximate--it will vary with the instructor, and lectures also differ in length; so use this as a rough guideline.) This covers Lectures 1 and 2 (of 6) in Module (5). Module (1): Introduction (DBMS, Relational Model) Module (2): Storage and File Organizations (Disks, Buffering, Indexes) Module (3): Database Concepts (Relational Queries, DDL/ICs, Views and Security) Module (4): Relational Implementation (Query Evaluation, Optimization) Module (5): Database Design (ER Model, Normalization, Physical Design, Tuning) Module (6): Transaction Processing (Concurrency Control, Recovery) Module (7): Advanced Topics
  3. 4
  4. 6
  5. 8
  6. 10
  7. 12
  8. 2
  9. 3
  10. 5
  11. 6
  12. 7
  13. 9
  14. 11
  15. 12
  16. 13