354.ERModel - Database Systems I The Entity-Relationship...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 176 Database Systems I The Entity-Relationship Model CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 177 Overview of Database Development Requirements Analysis What data are to be stored in the enterprise? What are the required applications? What are the most important operations? High-level database design What are the entities and relationships in the enterprise? What information about these entities and relationships should we store in the database? What are the integrity constraints or business rules that hold? ER model or UML to represent high-level design
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 178 Overview of Database Development Conceptual database design What data model to implement the DBS? E.g., relational data model Map the high-level design (e.g., ER diagram) to a (conceptual) database schema of the chosen data model. Physical database design What DBMS to use? What are the typical workloads of the DBS? Build indexes to support efficient query processing. What redesign of the conceptual database schema is necessary from the point of view of efficient implementation? CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 179 Overview of Database Development Requirements Analysis / Ideas High-Level Database Design Conceptual Database Design / Relational Database Schema Physical Database Design / Relational DBMS Similar to software development
Background image of page 2
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 180 Entity-Relationship Model Short: ER model. A lot of similarities with other modeling languages such as UML. Concepts Entities / Entity sets, Attributes, Relationships/ Relationship sets, and Constraints. Offers more modeling concepts than the relational data model (which only offers relations). Closer to the way in which people think. CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 181 Entity-Relationship Diagrams An Entity-Relationship diagram ( ER diagram ) is a graph with nodes representing entity sets, attributes and relationship sets. Entity sets denoted by rectangles . Attributes denoted by ovals . Relationship sets denoted by diamonds . Edges ( lines ) connect entity sets to their attributes and relationship sets to their entity sets.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 182 Entities and Entity Sets Entity: Real-world object distinguishable from other objects, e.g. employee Miller. Entity can be physical or abstract object. An entity is associated with attributes describing its properties. Attribute values are atomic, e.g. strings, integer or real numbers. Some variations of the ER model support
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 26

354.ERModel - Database Systems I The Entity-Relationship...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online