Relational Databases: Why So Many Tables? William Blozan, Ph.D. Fast Answers.

Slides:



Advertisements
Similar presentations
Designing Tables in Microsoft Access By Ed Lance.
Advertisements

Access Manual 4 By Elham S.Khorasani Ismail Guneydas Dhawala Kovuri.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Database Basics Alan B. Marr, M.D., F.A.C.S. Associate Professor of Clinical Surgery.
Introduction to Databases
Exploring Office Grauer and Barber 1 Tables and Forms: Properties, Views, and Wizards(Wk3)
File Systems and Databases
Lecture Access – Tables. What are Tables? Records Fields.
Terms - data,information, file record, table, row, column, transaction, concurrency Concepts - data integrity, data redundancy, Type of databases – single-user,
LOGICAL DATABASE DESIGN
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Transforming Data Models into Database Designs
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
Entity-Relationship Design
MS Access: Database Concepts Instructor: Vicki Weidler.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Microsoft Access Intro Class 1 Database Concepts.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Databases and LINQ Visual Basic 2010 How to Program 1.
Denise Luther Senior IT Consultant Practical Technology Enablement with Enterprise Integrator.
Systems analysis and design, 6th edition Dennis, wixom, and roth
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Access Primer UoN workshop Naivasha, 30 July – 4 August 2006.
An Investigation of Oracle and SQL Server with respect to Integrity, and SQL Language standards Presented by: Paul Tarwireyi Supervisor: John Ebden Date:
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Access Primer Africamuseum 5 June MS Access  Relational Database Management System Data/information resides in series of related tables Principle.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 4th Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
Relational Databases (MS Access)
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Copyright © 2005 Ed Lance Fundamentals of Relational Database Design By Ed Lance.
CIS 250 Advanced Computer Applications Introduction to Access.
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
What's a Database A Database Primer Let’s discuss databases n Why they are hard n Why we need them.
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
© 2002 by Prentice Hall 1 Database Processing with Microsoft Access David M. Kroenke Database Concepts 1e Appendix A.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
® Microsoft Office 2013 Access Creating a Database.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Creating Related Tables Creating Related Tables Determining.
Maintaining a Database Access Project 3. 2 What is Database Maintenance ?  Maintaining a database means modifying the data to keep it up-to-date. This.
Data Driven Designs 99% of enterprise applications operate on database data or at least interface databases. Most common DBMS are Microsoft SQL Server,
Database Processing with Microsoft Access Appendix DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Chapter 13 Designing Databases Systems Analysis and Design Kendall & Kendall Sixth Edition.
A State Perspective Mentoring Conference New Orleans, LA 2/28/2005 RCRAInfo Network Exchange.
GIS Data Models GEOG 370 Christine Erlien, Instructor.
Lesson 2: Designing a Database and Creating Tables.
Information Access Mgt09/12/971 Entity-Relationship Design Information Level Design.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Flat Files Relational Databases
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 25 I’m Suffering from Information Overload.
Chapter 24 I’m Suffering from Information Overload (Access Databases) Clearly Visual Basic: Programming with Visual Basic nd Edition.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
Physical Layer of a Repository. March 6, 2009 Agenda – What is a Repository? –What is meant by Physical Layer? –Data Source, Connection Pool, Tables and.
MS Access. Most A2 projects use MS Access Has sufficient depth to support a significant project. Relational Databases. Fairly easy to develop a good user.
CH 10 DB Application Design n 10.1 Functions n 10.2 Case Application n 10.3 Creating, Reading, Updating, Deleting View n 10.4 Form Design n 10.5 Report.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Decision Analysis Fall Term 2015 Marymount University School of Business Administration Professor Suydam Week 10 Access Basics – Tutorial B; Introduction.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
Developing Forms and Subforms.
File Systems and Databases
Tutorial 9 Using Action Queries and Advanced Table Relationships
Presentation transcript:

Relational Databases: Why So Many Tables? William Blozan, Ph.D. Fast Answers

Introduction Database Development: Programming, Data Theory & Business Management What is Relational Modeling? How Many Tables Do I Need, and Why so Many? This Topic Is of Interest to All Levels of Database Developers.

Agenda Symptoms of Dysfunction The Challenge What’s at Stake Key Design Concepts Recommended Steps For Modeling Tables Additional Modeling Complexity Recommended Steps For Managing Tables Managing Table Complexity in the GUI Example Plan Initial Data Conversion

Symptoms of Dysfunction Insufficient Number of Fields. Multiple Entry of Data. Awkward Or Impossible Data Access. Frequent User Entry Errors & Variations. High Maintenance Complexity Very Slow System Performance Unwieldy Change Management

Vocabulary Flat File: Spreadsheets and Word Processors.0 (& misused RDBMS’s) Boyce-Codd Normalization: The Theory is only 25 yrs old! Object Modeling: Conceptual Layer Relational Modeling: Logical Layer DBMS: Handles the Physical Layer Entity-Relationship Diagrams

The Challenge Seek To Design A Safe Data Repository Seek To Provide Easy Data Entry Seek To Provide Flexible Data Retrieval Must Allow for Repository Extensions Must Anticipate Additional Uses & Users Seek Tolerable System Performance

What’s At Stake Stable Production System End User Direct Access Disaster Recovery Total Development Time & Effort Data Conversion Complexity

Key Design Concepts Single Source Data Repository Application Independence Objects are Nouns; Processes are Verbs Process Logs are Nouns Let the Data Speak! Claim: Correct Model => All Sensible Reports are Feasible Must be able to describe an “Arbitrary Record” for each table

Recommended Steps For Modeling Tables Identify Primary Strategic Objects Each Object Becomes a Table Identify Multi-Valued Fields => Each repeating field can mean a Child Table Identify M-M Relationships => Each requires a Third Association Table

Recommended Steps For Modeling Tables, Con’t Identify each Data Processing Step Each process warrants at least one log table Consider Lookup Tables and Value Lists Consider Adding a System Table and an Audit Log Consider other Application Meta Data Multi-User Processes => Temporary Tables may be necessary to isolate processes

Additional Modeling Complexity Use Content-Void Primary Keys 1-1 Table Relationships Still Require a Parent Self Joins track genealogy Partial RI For Optional Foreign Keys Track Embedded Value Lists Using Cascade Delete Data Events => Use Triggers Watch Out: Time Order of Occurrence

Recommended Steps For Building Tables Finalize the Entity-Relationship Data Model Name Carefully: tblNounAdjVerbAdverb Build the Tables and Relationships Use AutoNumbers as Primary Keys Add all data columns/fields Define Data Types, Column Sizes, Default Values, Indexing, Validation, etc. Add Audit Fields, Temporary Conversion Source Fields

Manage Table Complexity In Screens And Code Start with Bound MS Access Forms Linked Tabs and Sub-Forms Zoom To Edit M-M Parents Bound, But Empty Events: BU, AU, AI, On Current, Triggers Unbound Views Of Many Tables

Example: Business Cards 1-7 Tables 2 Key Objects: Firms & People M-M Association: Employee w/ Job Title Lookups: Phone Type, Address Type Phones?, Addresses? => One Screen Functionality Is Complex Unbound Form, Drop-Downs, Tricky Navigation Easy To Use => Lots Of Code

Plan Initial Data Conversion Map Old To New, New To Old Spot Compacted Tables: Extract Spot Compacted Fields: Extract Check For Required Fields Check For Consistent Spelling of LU’s Prepare & Save Queries/Scripts Trap Source Tables & Keys

Conclusion Get It Right From The Start OK, Then Fix It As Soon As You See It Name Things Appropriately Data Model Diagrams Aid Communication With Clients and Colleagues Suppress Complexity From Users Art or Science? Both!

Where to get more information Nothwind Traders – Sort of! MS Access & SQL Server User Groups Establish quid pro quo relationships MS Access has “Analyzer” wizards ERwin, Infomodeler, Visual Modeler Database Processing, Kroenke & Dolan, SRA. Understanding Relational Databases, Fabian Pascal, Wiley. Consultants.