Database Requirements and Design

Slides:



Advertisements
Similar presentations
Business Processes, Data Modeling and Information Systems
Advertisements

09/04/2015Unit 2 (b) Back-Office processes Unit 2 Assessment Criteria (b) 10 marks.
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Systems Development Life Cycle
Client/Server Databases and the Oracle 10g Relational Database
Entity-Relationship Model and Diagrams (continued)
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
A Quick Review of Analysis Stages of the Systems Development Life Cycle Planning Analysis Design Construction.
8/28/97Information Organization and Retrieval Database Design University of California, Berkeley School of Information Management and Systems SIMS 202:
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
APPENDIX C DESIGNING DATABASES
Entity-Relationship Design
1 Database Requirements and Design. 2 DATA PEOPLE PROCEDURES HARDWARE SOFTWARE The Product: a working system.
IT 244 Database Management System Data Modeling 1 Ref: A First Course in Database System Jeffrey D Ullman & Jennifer Widom.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Introduction to Accounting Information Systems
Chapter 14 Information System Development
Information Systems in Organizations 2.1 Analyzing organizations as systems and processes.
Faculty of Computer & Information Software Engineering Third year
Information Systems in Organizations 2.1 Analyzing organizations as systems and processes.
Database Design Principles – Lecture 3
Systems Analysis and Design of a Business Event-Driven System
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Chapter 1 1 Lecture # 1 & 2 Chapter # 1 Databases and Database Users Muhammad Emran Database Systems.
Chapter 9 Applying UML and Patterns -Craig Larman
Lecture 4 Conceptual Data Modeling. Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship,
ITEC 3220A Using and Designing Database Systems Instructor: Prof Z. Yang Course Website: 3220a.htm
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Entity Relationship Diagram (ERD). Objectives Define terms related to entity relationship modeling, including entity, entity instance, attribute, relationship.
2 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel Data Models Why data models are important About the basic data-modeling.
1 Information System Analysis Topic-3. 2 Entity Relationship Diagram \ Definition An entity-relationship (ER) diagram is a specialized graphic that illustrates.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix B: Getting Started in Systems Analysis and Design.
Database Design Chapters 17 and 18.
Database Systems: Design, Implementation, and Management Tenth Edition
Business System Development
Database Development Lifecycle
CS4222 Principles of Database System
Entity-Relationship Model
Fundamentals of Information Systems, Sixth Edition
© The McGraw-Hill Companies, All Rights Reserved APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Information Systems Today: Managing in the Digital World
Entity-Relationship Model
Developing Information Systems
OO Domain Modeling With UML Class Diagrams and CRC Cards
ER MODEL Lecture 3.
Accounting Information Systems 9th Edition
بسم الله الرحمن الرحيم.
DBM 380 Competitive Success/snaptutorial.com
DBM 380 AID Lessons in Excellence-- dbm380aid.com.
DBM 380 Education for Service/snaptutorial.com
DBM 380 Teaching Effectively-- snaptutorial.com
Entity-Relationship Model and Diagrams (continued)
CS 174: Server-Side Web Programming February 12 Class Meeting
Information Systems in Organizations 2
Basic Concepts in Data Management
ERD’s REVIEW DBS201.
Database Fundamentals
Information Systems in Organizations 2. 1
Data Resource Management
MIS2502: Data Analytics Relational Data Modeling
Database Design Chapters 17 and 18.
Data Model.
Database Modeling using Entity Relationship Model (E-R Model)
ITEC 3220A Using and Designing Database Systems
Data Resource Management
DATABASE TECHNOLOGIES
Chapter 3 Database Management
Entity-Relationship Design
Presentation transcript:

Database Requirements and Design

The Product: a working system DATA PEOPLE HARDWARE SOFTWARE PROCEDURES The Product: a working system

Project Identification Database development activities during the systems development life cycle (SDLC) Project Identification and Selection Project Initiation and Planning Analysis Logical Design Physical Design Implementation Maintenance

Project Identification & Selection Purpose: to develop a preliminary understanding of the business situation that has caused the request for a new or enhanced information system. Deliverable: a formal request for services

Project Identification and Selection Printing Company: use internet to request quotes, place orders and check order status Video Game Store: track customer information, track customer purchases, maintain inventory Elementary school After School program: student records, important information, account balances Interpreter’s Organizer: assignment status, income, costs, taxes

Project Identification and Selection Groups of 3-5, talk to me if you are thinking about an individual assignment I would advise you use either a devise a case study with your group where you implement a database, or use a company/scenario that someone in your group is familiar with. Make sure everyone in the group understands the scenario The next step in your group process should be to sit down and talk about the System Requirement. Make sure everyone in your group understands what data you want to get from the database.

Project Initiation and Planning System Requirements: Information requirements of the system Stakeholders Constraints Application environment

Case Study The Clearwater Traders Sales Order Database

Overview Markets a line of clothing and sporting goods via mail-order catalogs To remain competitive, company managers want to create a database to allow Internet customers to: Browse the catalog on-line Place orders Check order status status

Information Requirements System must do all of the following: Track information about customers and customer orders Track customer orders Track inventory information so customers can find out if an item is available Have intranet applications, so Clearwater Traders personnel can: Add, update, and delete inventory items Update inventory amounts when new shipments are received Modify item prices

Stakeholders Company management Clearwater Traders personnel Customers

Constraints System must be operational by April 2001 System must not require additional purchase of software/hardware Other possible constraints? Training employees, …

Application Environment Access 2000 on networked PCs Expansion to Web sites using Visual Basic and Personal Web Server

Logical Design Purpose: to elicit and structure all information requirements Deliverables: detailed functional specs for data, forms, reports, displays, and rules (logic, algorithms)

Principles of Conceptual Database Design Identify basic data needs and create conceptual data models that record needed data elements and their relationships Your local Bank: How many checking accounts do we have? How many savings accounts? How many customers? How do we get each customer the right monthly statement? How do I get a weekly report of overdue loan payments?

Reality and Requirements Definition Requires identifying user information requirements and representing them in a well-defined model Model – a representation of reality that retains only selected details Database Management System (DBMS) manages the database so that each user can record, access, and manipulate the data that is the “model of reality” of interest to the user Requires mapping – associating elements in one sphere with elements in another sphere

Conceptual Data Models Object-oriented model Represents real-world entities as objects rather than as records Have their own object identities and attributes Participate in relationships Describes ways of manipulating data that focuses on the data and the manipulation (query, computation, update, etc.)

Fundamentals Objects Important to users in the portion of reality modeled Concrete objects People, automobiles, trees, dishwashers, houses, hammers, books, etc. Conceptual objects Companies, skills, organizations, product designs, business transactions, job classifications, etc.

Entity Relationship Diagram An entity-relationship diagram is a data modeling technique that creates a graphical representation of the entities, and the relationships between entities, within an information system.

The three main components of an ERD are: The entity is a person, object, place or event for which data is collected The relationship is the interaction between the entities The cardinality defines the relationship between the entities in terms of numbers.

The steps involved in creating an ERD are: Identify the entities; Determine all significant interactions; Analyze the nature of the interactions; Draw the ERD

Synonyms you should know… Entity = class = relation = table Attribute = column Instance = row columns table rows

Relationships MARRIED-MAN IS-MARRIED-TO MARRIED-WOMAN IS-MARRIED-TO = MARRIED-MAN = {Adam, David, John} and MARRIED-WOMAN = {Joan, Linda, Michelle} and Adam is-married-to Joan David is-married-to Linda John is-married-to Michelle IS-MARRIED-TO = { (Adam, Joan), (David, Linda), (John, Michelle) }

Representations of a Relationship IS MARRIED TO Married Man Married Woman (a) The IS MARRIED TO relationship Adam ----------------------------------- Joan David ----------------------------------- Linda John ----------------------------------- Michelle (b) Some instances of IS MARRIED TO

Cardinality Refers to the maximum number of instances of 1 object set related to a single instance of the other object set IS MARRIED TO Married Man Married Woman 1 1 1:1 relationship Supervises Supervisor Worker 1 * 1:M or 1:* relationship

Basic E-R Notation

Sample E-R Diagram

E-R model with only the necessary entities

Primary key attribute

Composite key attribute

Relationship types and instances (a) Relationship type “Completes”

Cardinality constraints (a) Relationship showing maximum cardinality only.

Cardinality constraints (b) Relationship showing max & min cardinality

Building a Conceptual Data Model from a Purchase Order PAYMENT Check # Date VENDOR Number Name Address 1 MADE FROM * 1 PAID WITH PRODUCT Stock # Description Price ORDER Number Tax Total Date * INCLUDES *

Representing Tables (entities) Vendor (Number, Name, Address) Product (Stock #, Description, Price) Order (Number, Date, Tax, Total) Payment (Check #, Date) Attributes are in parentheses Primary key is underlined.

Physical Design Purpose: to develop all technology & organizational specs Deliverables: program & database structures, technology purchases, physical site plans and organizational redesigns

Implementation Purpose: to write programs, build data files, test and install the new system, train users, and finalize documentation Deliverables: programs that work accurately and to specs, documentation (user and system), and training materials.

For Practice... Identify a potential key value for each of the following entities: Customer (Cust-Name, Cust-ID, Address, Country, Balance, Month-to-date-payments) Sales Rep (Comm%, Office, Manager-ID, Sales Rep Name, Sales Rep ID) Product (Prod-Desc, Mfg-ID, Cost, Price, Prod-ID)

For Practice... For each of the following, draw a data model showing a relationship between objects and attributes of the objects. Indicate cardinality. Students take classes and get grades in the classes. Sections of courses are offered at specified times and in specified rooms of buildings. Employees work a certain number of hours and have a certain supervisor. People subscribe to magazines, and their subscriptions have beginning and ending dates.