IMS 6217: Database Design & Entities 1 Dr. Lawrence West, MIS Dept., University of Central Florida Database Design--Topics DB Design.

Slides:



Advertisements
Similar presentations
Copyright Irwin/McGraw-Hill Data Modeling Prepared by Kevin C. Dittman for Systems Analysis & Design Methods 4ed by J. L. Whitten & L. D. Bentley.
Advertisements

Modeling the Data: Conceptual and Logical Data Modeling
The Relational Database Model:
1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management.
WELL-DESIGNED DATABASES Process faster Easy to develop and maintain Easy to read and write code.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Lesson-19 Data Modeling and Analysis
Databases and Database Management Systems
Data Modeling 1 Yong Choi School of Business CSUB.
IMS 4212: Distributed Databases 1 Dr. Lawrence West, Management Dept., University of Central Florida Distributed Databases Business needs.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
Database Design Principles of database design. Relational Models Relational databases are designed to provide efficient structures for transaction processing.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
RAJIKA TANDON DATABASES CSE 781 – Database Management Systems Instructor: Dr. A. Goel.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
A Guide to SQL, Eighth Edition Chapter Two Database Design Fundamentals.
Introduction to Accounting Information Systems
IMS 4212: Data Modeling—Super-Type/Sub-Type Entities 1 Dr. Lawrence West, Management Dept., University of Central Florida Super-Type.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Artificial, Composite and Secondary UIDs
IMS 6217: Primary Key Reference 1 Dr. Lawrence West, MIS Dept., University of Central Florida Primary Keys Uniqueness of Table Rows Identifier.
IMS 6217: Relationships 1 Dr. Lawrence West, MIS Dept., University of Central Florida Database Design--Topics DB Design Steps Identify.
SQL Structured Query Language Programming Course.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
WEEK 10 Database Design. Agenda – Week 10 Review Hybrid Review Primary Keys Table Instance Charts.
Database Design Principles – Lecture 3
IMS 4212: Normalization 1 Dr. Lawrence West, Management Dept., University of Central Florida Normalization—Topics Functional Dependency.
1 A Guide to MySQL 2 Database Design Fundamentals.
IMS 4212: Introduction to Data Modeling 1 Dr. Lawrence West, Management Dept., University of Central Florida Introduction to Data Modeling—Topics.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
(Spring 2015) Instructor: Craig Duckett Lecture 10: Tuesday, May 12, 2015 Mere Mortals Chap. 7 Summary, Team Work Time 1.
IMS 4212: Data Modeling—Attributes 1 Dr. Lawrence West, Management Dept., University of Central Florida Attributes and Domains Nonkey.
Slide Chapter 5 The Relational Data Model and Relational Database Constraints.
System Design System Design - Mr. Ahmad Al-Ghoul System Analysis and Design.
MS Access. Access is a DBMS/RDMS DBMS = Database Management System RDMS = Relational Database Management System.
DAY 14: MICROSOFT ACCESS – CHAPTER 1 Madhuri Siddula October 1, 2015.
IMS 4212: Data Modeling—More Relationships 1 Dr. Lawrence West, Management Dept., University of Central Florida Data Modeling—Topics.
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
IMS 4212: Introduction to Data Modeling—Relationships 1 Dr. Lawrence West, Management Dept., University of Central Florida Relationships—Topics.
CISB113 Fundamentals of Information Systems Data Management.
Database Design – Lecture 4 Conceptual Data Modeling.
Microsoft FrontPage 2003 Illustrated Complete Integrating a Database with a Web Site.
Database Objective Demonstrate basic database concepts and functions.
IMS 4212: Data Modeling—Attributes and Domains 1 Dr. Lawrence West, Management Dept., University of Central Florida Attributes and Domains.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
IMS 4480: Introduction to Web Services 1 Dr. Lawrence West, MIS Dept., University of Central Florida Introduction to Web Services—Topics.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
IMS 4212 Lab: Lab Introduction 1 Dr. Lawrence West, MIS Dept., University of Central Florida Subject—Topics Installing.
IMS 4212: Database Implementation 1 Dr. Lawrence West, Management Dept., University of Central Florida Physical Database Implementation—Topics.
Howard Paul. Sequential Access Index Files and Data File Random Access.
IMS 4212: Constraints & Triggers 1 Dr. Lawrence West, Management Dept., University of Central Florida Stored Procedures in SQL Server.
Microsoft Access 2010 Chapter 11 Database Design.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Modeling the Data: Conceptual and Logical Data Modeling.
IMS 4212: Normalization 1 Dr. Lawrence West, Management Dept., University of Central Florida Normalization—Topics Functional Dependency.
1 CS 430 Database Theory Winter 2005 Lecture 3: A Fifty Minute Introduction to Data Modeling.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. A database is a collection of information organized to provide efficient retrieval. The collected information.
IMS 6217: Introduction to Data Modeling 1 Dr. Lawrence West, MIS Department, University of Central Florida Introduction to Data Modeling—Topics.
IMS 4212: Course Introduction 1 Dr. Lawrence West, Management Dept., University of Central Florida ISM 4212 Dr. Larry West
DataBase Logic in Business Applications
COP5725 Database Management ER DIAGRAM AND RELATIONAL DATA MODEL
IS 130 Information systems 1
Attributes and Domains
Database Systems Chapter 3 1.
Primary Keys Uniqueness of Table Rows
Primary Keys—Topics Uniqueness of Table Rows
Database Management  .
Database Fundamentals
Attributes and Domains
G061 - Data Dictionary.
Relationships—Topics
Presentation transcript:

IMS 6217: Database Design & Entities 1 Dr. Lawrence West, MIS Dept., University of Central Florida Database Design--Topics DB Design Steps Information Elements Entities –Identifying –Defining Identifier Attributes

IMS 6217: Database Design & Entities 2 Dr. Lawrence West, MIS Dept., University of Central Florida Database Design Steps Identify “Information Elements” Identify Entities Identify Primary Keys Identify Relationships Fix Relationship Problems Identify Non-Key Attributes Fix Attribute Problems Address Performance Issues Build Application Objects (stored procedures, views) Design Reports List is not strictly sequential Some steps performed recursively Some steps require returning to previous steps

IMS 6217: Database Design & Entities 3 Dr. Lawrence West, MIS Dept., University of Central Florida Information Elements IS Design involves interviews with clients –Clients don’t understand our terminology or DB concepts (or they wouldn’t need us!) –We probably don’t understand much of theirs –Examine forms, reports & filing cabinets Interviews & research will result in a collection of "Information Elements" (my term) –Lists of items of concern to the client –Items that crop up in interviews & research –Items you recognize from your experience

IMS 6217: Database Design & Entities 4 Dr. Lawrence West, MIS Dept., University of Central Florida Information Elements Exercise Identify Information Elements for ______________________________________________

IMS 6217: Database Design & Entities 5 Dr. Lawrence West, MIS Dept., University of Central Florida Entities "A person, place, object, thing, event, or concept about which the organization wishes to maintain data" Examples from the university's database might be STUDENT, CLASS, and PROFESSOR Each entity in the final data model will become a table in the physical database It is important to distinguish between entities and attributes of an entity –Distinction may change with perspective We will also create new entities as we refine our data model

IMS 6217: Database Design & Entities 6 Dr. Lawrence West, MIS Dept., University of Central Florida Entity Identification Exercise Identify the Entities In the Information Elements Collection ______________________________________________

IMS 6217: Database Design & Entities 7 Dr. Lawrence West, MIS Dept., University of Central Florida Defining Entities It is amazingly important to explicitly define what is meant by each entity What is contained in the following entities? –Customer− Order –Sale− Employee Entity descriptions become part of the DB documentation (description property in SQL Server) You cannot assume that developers using the DB will have the save vision for the meaning of an entity that you do

IMS 6217: Database Design & Entities 8 Dr. Lawrence West, MIS Dept., University of Central Florida Entity Definition Exercise Define Sample Entities From the List of Entities [One occurrence of this entity represents…] _____________ See lesson on course lessons page on describing entities and attributes

IMS 6217: Database Design & Entities 9 Dr. Lawrence West, MIS Dept., University of Central Florida Identifier Attributes (Primary Keys) Identifier Attribute: An attribute whose value uniquely identifies each occurrence of an entity –SSN for student or faculty –VIN for an automobile –SKU for a retail product Composite Identifiers: More than one attribute is needed to uniquely identify an entity occurrence –Dept Code & Number for a course –Building Code & Room Number for a classroom Review Alternate Keys

IMS 6217: Database Design & Entities 10 Dr. Lawrence West, MIS Dept., University of Central Florida Identifier Attribute (Primary Key) Exercise Identify Primary Key Attributes For Selected Entities Identifier attribute/PK consistent with entity name and description? Is there a natural PK? Is an artificial PK needed (especially autonumber)? Are there alternate identifier attribute sets?