(C) 2000, The University of Michigan 1 Database Application Design Handout #2 January 14, 2000.

Slides:



Advertisements
Similar presentations
Stephen C. Hayne 1 Database System Components The Database and the DBMS.
Advertisements

BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
1 Database Theoretic Basis Entity Relationship (E-R) Modeling Database Theoretic Basis Entity Relationship (E-R) Modeling.
ENTITY RELATIONSHIP MODELLING
Ch5: ER Diagrams - Part 1 Much of the material presented in these slides was developed by Dr. Ramon Lawrence at the University of Iowa.
Concepts of Database Management Seventh Edition Chapter 6 Database Design : ERD Model.
IT420: Database Management and Organization
Systems Development Life Cycle
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 3 The Entity- Relationship Model.
System Analysis - Data Modeling
ETEC 100 Information Technology
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 2 Introduction to Database Development.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 2 Introduction to Database Development.
Fundamentals, Design, and Implementation, 9/e SI654 Database Application Design Instructor: Dragomir R. Radev Winter 2005.
Fundamentals, Design, and Implementation, 9/e Chapter 3 Entity-Relationship Data Modeling: Process and Examples Instructor: Dragomir R. Radev Fall 2005.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke Database Processing Tenth Edition Chapter 5 Data.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Modeling & Designing the Database
CPSC-608 Database Systems Fall 2011 Instructor: Jianer Chen Office: HRBB 315C Phone: Notes 1.
Introduction to Information and Computer Science Databases and SQL Lecture b This material (Comp4_Unit6b) was developed by Oregon Health & Science University,
An Introduction to Database Management Systems R. Nakatsu.
Transforming Data Models into Database Designs
Chapter 2 Introduction to Database Development Database Processing David M. Kroenke © 2000 Prentice Hall.
Entity/Relationship Modelling
Data Modeling and Entity- Relationship Model I IST2101.
Introduction to Database Development zThe Database zThe Data Base Management System (DBMS) zCreating a Database zComponents of Applications zDeveloping.
Data Modeling and the Entity-Relationship Model Chapter Four DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Entity-Relationship Modeling I The cautious seldom err. Confucius.
Data Modeling Using the Entity-Relationship Model
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
CS462: Introduction to Database Systems. ©Silberschatz, Korth and Sudarshan1.2Database System Concepts Course Information Instructor  Kyoung-Don (KD)
1. 2 Data Modeling 3 Process of creating a logical representation of the structure of the database The most important task in database development E-R.
(C) 2000, The University of Michigan 1 Database Application Design Handout #3 January 21, 2000.
1 Database Systems: Design, Implementation, and Management CHAPTER 6 Database Design.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
ER to Relational Translation COMSATS INSTITUTE OF INFORMATION TECHNOLOGY, VEHARI.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
MIS 301 Information Systems in Organizations Dave Salisbury ( )
(C) 2000, The University of Michigan 1 Database Application Design Handout #4 January 28, 2000.
Component 4: Introduction to Information and Computer Science Unit 6: Databases and SQL Lecture 2 This material was developed by Oregon Health & Science.
Chapter Two ( Data Model) Objectives Introduction to Data Models What are the Data Models Why they are important Learn how to design a DBMS.
Chapter 3 Data Modeling Using the Entity- Relationship (ER) Model Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
(C) 2000, The University of Michigan 1 Database Application Design Handout #10 March 17, 2000.
(C) 2000, The University of Michigan 1 Database Application Design Handout #8 February 25, 2000.
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
© Pearson Education Limited, Chapter 7 Entity-Relationship modeling Transparencies.
Entity-Relationship Modeling Based on Chapter 12.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall, modified by Dr. Lyn Mathis 5-1 David M. Kroenke’s, 10 th ed. Chapter.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
CS 405G: Introduction to Database Systems Lecture 2 : Database Design I.
Component 4/Unit 6b Topic II Relational Databases Keys and relationships Data modeling Database acquisition Database Management System (DBMS) Database.
Entity Relationship Diagram. Introduction Definition: Entity-relationship diagram is a data-modeling technique that visualises entities, the attributes.
Data Modelling Using Entity-Relationship (ER) Model
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Chapter 3: Relational Databases
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 5-1 David M. Kroenke’s Chapter Five: Data Modeling with the Entity-Relationship.
Data Modeling and Entity-Relationship Model I
For more course tutorials visit CIS 336 All iLabs Week 1 to Week 7 Devry University CIS 336: All iLabs Week 1 to Week 7: Devry University.
1 CS122A: Introduction to Data Management Lecture #4 (E-R  Relational Translation) Instructor: Chen Li.
Introduction to Database Development CH2. CH2. Introduction to DB Development Database n Components of Database Systems (Figure 2-1) –User data –Metadata.
Database Designsemester Slide 1 Database Design Lecture 7 Entity-relationship modeling Text , 7.1.
Copyright © 2014 Pearson Canada Inc. 5-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5a Database Design Part 2: Using Information Technology.
بسم الله الرحمن الرحيم.
Translation of ER-diagram into Relational Schema
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Presentation transcript:

(C) 2000, The University of Michigan 1 Database Application Design Handout #2 January 14, 2000

(C) 2000, The University of Michigan 2 Course information Instructor: Dragomir R. Radev Office: 305A, WH, Phone: Office hours: TBD and Friday 1-2 Course page: Meeting time: Fridays, 2:30 - 5:30 PM, 311 WH

(C) 2000, The University of Michigan 3 Introduction to database development (cont’d)

(C) 2000, The University of Michigan 4 Metadata System tables Overhead data (indexes) Application metadata

(C) 2000, The University of Michigan 5 Components of a DBMS Design tools subsystem: design and creation of databases and applications; creations of tables, forms, queries, and reports; interfaces to programming languages Run-time subsystem: e.g., for linking forms to backend DBMS engine: translates requests into commands; transaction management; backup and recovery; locking

(C) 2000, The University of Michigan 6 Creating the database Database schemas Tables: –CAPTAIN (CaptainName, Phone, Street, City, State, Zip) –ITEM (Quantity, Description, DateOut, DateIn) –Uniqueness?

(C) 2000, The University of Michigan 7 Creating the database Relationships: –one captain to many items (1:N) –need to add CAPTAIN_ID to ITEM Domains –sets of values that a column may have

(C) 2000, The University of Michigan 8 Creating the database Business rules (constraints) –In order to check out any equipment, a captain must have a local phone –No captain may have more than 7 balls checked out at any time –Captain must return all equipment within five days after the end of each semester –No captain may check out any equipment if he or she has any overdue

(C) 2000, The University of Michigan 9 Enforcing business rules Depends on system Stored procedures

(C) 2000, The University of Michigan 10 Creating tables Relationships Foreign keys (CAPTAIN_ID) Forms Queries Reports Menus Application programs

(C) 2000, The University of Michigan 11 DB654 database Students Projects

(C) 2000, The University of Michigan 12 Database development process Top-down development: –general to specific –start with the strategic goals of the organization –means by which they will be accomplished –information requirements –necessary systems –BUILD ABSTRACT DATA MODEL

(C) 2000, The University of Michigan 13 Database development process Bottom-up development: –Start from needed reports, forms, queries –analyze existing systems, input & output –BU design: produces systems more quickly than TD design –Other tradeoffs

(C) 2000, The University of Michigan 14 Data modeling Inference process: from users’ statements to the structure and relationships of items to be stored in the database Reports and forms are shadows on the wall Inferencing is more an art than a science Multi-user systems: how to resolve differences; who decides

(C) 2000, The University of Michigan 15 The entity-relationship model

(C) 2000, The University of Michigan 16 E-R model Introduced by Peter Chen in 1976 (“The Entity- Relationship Model - Towards a Unified View of Data”) in ACM TODS, January 1976 Key elements: –entities: something that the user wants to track –entity classes –attributes (or properties); e.g, employee name –identifiers (name, but not salary): unique or not; composite –relationships: by degree

(C) 2000, The University of Michigan 17 Binary relationships 1:1 1:N N:M HAS-A relationships: e.g., a CLUB has STUDENTS STUDENT CLUB N:M STUDENT-CLUB

(C) 2000, The University of Michigan 18 Entity-relationship diagrams Maximum cardinality Minimum cardinality Recursive relationships: examples? DORMITORY STUDENT 1:N DORM-OCCUPANT O

(C) 2000, The University of Michigan 19 ****