Establishing Table Structures Chapter 7 Database Design for Mere Mortals.

Slides:



Advertisements
Similar presentations
Build a database I: Design tables for a new Access database
Advertisements

BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Chapter 3 Data Modeling Copyright © 2014 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
Entity Relationship (ER) Modeling
Entity Relationship (ER) Modeling
Views Chapter 12. What Are Views? A virtual table that comprises the fields of one or more tables in the database It is a virtual table since it does.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Database Design Chapter 3.
The Relational Database Model. 2 Objectives How relational database model takes a logical view of data Understand how the relational model’s basic components.
Analyzing the Current Database
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Chapter 4 Entity Relationship (ER) Modeling
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Keys Chapter 8 Database Design for Mere Mortals. Why Keys Are Important They ensure that each record in a table can be properly identified. They help.
Conceptual Overview 7 step design Chapter 4 Database Design for Mere Mortals.
3 1 Chapter 3 The Relational Database Model Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Design Overview. 2 Database DBMS File Record Field Cardinality Keys Index Pointer Referential Integrity Normalization Data Definition Language.
APPENDIX C DESIGNING DATABASES
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
The Relational Database Model
3 The Relational Model MIS 304 Winter Class Objectives That the relational database model takes a logical view of data That the relational model’s.
The Relational Database Model
What is a database? An organized collection of data. This can be in an electronic, paper, or other format. Types of databases Operational -constantly changing.
Data Modeling ERM ERD.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
IFS180: Intro. to Data Management Chapter 2 Ensuring your database structure is sound.
4 1 Chapter 4 Entity Relationship (ER) Modeling Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Chapter 5 Entity Relationship (ER) Modelling
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
1 ER Modeling BUAD/American University Entity Relationship (ER) Modeling.
Concepts and Terminology Introduction to Database.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T5 DESIGNING DATABASE APPLICATIONS.
The Relational Database Model
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T5: Designing Database Applications Business Driven Technology.
1 n 1 n 1 1 n n Schema for part of a business application relational database.
(Spring 2015) Instructor: Craig Duckett Lecture 10: Tuesday, May 12, 2015 Mere Mortals Chap. 7 Summary, Team Work Time 1.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Preparing To Automate Data Management Chapter 1 “You.
3 1 Chapter 3 The Relational Database Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
3 & 4 1 Chapters 3 and 4 Drawing ERDs October 16, 2006 Week 3.
Database Systems, 9th Edition 1.  In this chapter, students will learn: That the relational database model offers a logical view of data About the relational.
3 1 Chapter 3 The Relational Database Model Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 3 The Relational Database Model.
Database Systems: Design, Implementation, and Management Ninth Edition Chapter 3 The Relational Database Model.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Database Terms Hernandez, Chapter 3. Data/Information The values you store in the database are data. Pieces of Data in and of themselves is not particularly.
(Spring 2015) Instructor: Craig Duckett Lecture 08: Tuesday, May 5, 2015 Mere Mortals Chap. 6 Summary, Team Work Time 1.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Microsoft Access Database Creation and Management.
Flat Files Relational Databases
Chapter 10 Designing Databases. Objectives:  Define key database design terms.  Explain the role of database design in the IS development process. 
(Winter 2016) Instructor: Craig Duckett Lecture 13: Thursday, February 18 th Mere Mortals: Chap. 9 Summary, Team Work 1.
Software Requirements Specification Document (SRS)
SNOMED Core Structures NAHLN January 2005 Las Vegas, NV.
3 1 Chapter 3 The Relational Database Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 3 The Relational Database Model.
Chapter 3 The Relational Database Model. Database Systems, 10th Edition 2 * Relational model * View data logically rather than physically * Table * Structural.
Database Planning Database Design Normalization.
Copyright © 2014 Pearson Canada Inc. 5-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5a Database Design Part 2: Using Information Technology.
(Winter 2017) Instructor: Craig Duckett
Application Extension 5a
(Winter 2017) Instructor: Craig Duckett
DESIGNING DATABASE APPLICATIONS
Tables and Their Characteristics
CIS 155 Table Relationship
(Winter 2017) Instructor: Craig Duckett
Instructor: Craig Duckett
Relational Database Model
(Winter 2017) Instructor: Craig Duckett
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Presentation transcript:

Establishing Table Structures Chapter 7 Database Design for Mere Mortals

Defining the Preliminary Table List Determining implied subjects –review of preliminary field list –group fields by subject –let fields “talk” to you –look at list as objectively as possible

Using the list of subjects –cross-check list of subjects (interview) with preliminary field list –objective: to identify duplicate items –if duplicate, are they for different subjects?

Using mission objectives –use mission objectives to determine if you overlooked any subjects –underline each subject in the mission objectives –cross check against preliminary table list –if item you underlined in a mission objective statement already appears on the preliminary table list, determine whether the items represent different subjects

If the item underlined in the mission objective statement has a name that is synonymous with the name of an item on the preliminary table list and both items represent the same subject, select the name that best identifies that subject and use it in the preliminary table list. If the item underlined in the mission objective statement represents a mew subject, add it to the preliminary table list.

Define the Final Table List Refining the table names –create a unique, descriptive name that is meaningful to the entire organization –create a table name that accurately, clearly, and unambiguously identifies the subject of the table –Use the minimum number of words necessary to convey the subject of the table –Do not use words that convey physical characteristics

do not use acronyms and abbreviations do not use proper names and other words that will unduly restrict the data that can be entered into the table do not use names that implicitly or explicitly identify more than one subject use the plural form of the name

Indicating table types –Data : stores data used to supply information and represents a subject that is important to the organization –Linking : used to establish a link between two tables –Subset : contains supplemental fields that are related to a particular data table –Validation : used to implement data integrity

Composing the table descriptions (guidelines) –include a definition statement that accurately identifies the table –include a statement that explains why this table is important to the organization –compose a description that is clear and succinct –do not include implementation-specific information in your table description, such as how or where the table is used

Do not make the table description for one table dependent on the table description of another table do not use examples in the table description

Interviewing users and management –no longer necessary to involve everyone in organization –use representative group of users and management –you may interview users and management at same time

Associating Fields With Each Table Determine which fields best represent characteristics of the table’s subject and assign them to that table Use paper, use computer AFTER the design process

Refining the Fields Improving field names –unique, descriptive, meaningful to entire organization –accurately, clearly, unambiguously identifies the characteristics of the field –use minimum number of words –no acronyms, limited use of abbreviations –don’t use confusing names

–does not identify more that one characteristic –use singular form of name Using the ideal field to resolve anomalies –it represents a characteristic of the subject of the table –contains a single value –cannot be deconstructed into smaller components

does not contain a calculated or concatenated value unique within the entire database structure retains all of its characteristics if it appears in more than one table

Refining the Table Structures Redundant data and duplicate fields –redundant data - value that is repeated in a field as a result of the fields’ use as a link between two tables, or is the result of some field or table anomaly –duplicate field - appear in two or more tables, they are used to link a set of tables together, they indicate multiple occurrences of a particular type of value, result of a perceived need for supplemental information

Elements of the ideal table –represents single subject - object or event –has a primary key –no multi-part fields –no multi-values fields –no calculated fields –no unnecessary duplicate fields –contains minimum amount of redundant data

Resolving unnecessary duplicate fields Establishing subset tables –refine previously unidentified subset tables Case Study