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.

Slides:



Advertisements
Similar presentations
MARKETING RESEARCH Ing. Katarína Kleinová Department of marketing.
Advertisements

Organisation Of Data (1) Database Theory
Database Basics Alan B. Marr, M.D., F.A.C.S. Associate Professor of Clinical Surgery.
UNIVERSITY OF PALESTINE business computer application College of Business Instructor: Mr. Ahmed Abumosameh.
MICROSOFT OFFICE ACCESS 2007.
Database Management An Introduction.
Concepts of Database Management Sixth Edition
Data Modeling with ERD ISYS 363. Entity-Relationship Diagram An entity is a “thing” in the real world, such as a person, place, event for which we intend.
Databases and Processing Modes. Fundamental Data Storage Concepts and Definitions What is an entity? An entity is something about which information is.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
1 SYSTEMS DESIGN Pertemuan 13 s.d 20 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Attribute databases. GIS Definition Diagram Output Query Results.
Databases and Database Management Systems
Establishing Table Structures Chapter 7 Database Design for Mere Mortals.
APPENDIX C DESIGNING DATABASES
MS Access 2007 IT User Services - University of Delaware.
Database Relationships Objective 5.01 Understand database tables used in business.
Databases. Objectives Define what a database is. Understand the difference between a flat and relational database Design and create a relational database.
Entity Relationship Diagram Farrokh Alemi Ph.D. Francesco Loaiza, Ph.D. J.D. Vikas Arya.
Copyright © 2016 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Yong Choi School of Business CSUB
Introduction to Database Systems
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
GCSE Computing: A451 Computer Systems & Programming Relational Databases Databases.
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
Concepts of Database Management Seventh Edition
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
Relational Database Concepts. Let’s start with a simple example of a database application Assume that you want to keep track of your clients’ names, addresses,
BUS1MIS Management Information Systems Semester 1, 2012 Access: Creating a Database Week 6 Lecture 2.
CSCI 3140 Module 2 – Conceptual Database Design Theodore Chiasson Dalhousie University.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Relational Databases (MS Access)
DIMENSIONAL MODELLING. Overview Clearly understand how the requirements definition determines data design Introduce dimensional modeling and contrast.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T5 DESIGNING DATABASE APPLICATIONS.
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.
Organizing Data and Information. What is Data?? Numbers, characters, images, or other method of recording, in a form which can be assessed by a human.
(Spring 2015) Instructor: Craig Duckett Lecture 10: Tuesday, May 12, 2015 Mere Mortals Chap. 7 Summary, Team Work Time 1.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Analyzing Systems Using Data Dictionaries Systems Analysis and Design, 8e Kendall.
DATABASE What exactly is a database How do databases work? What's the difference between a spreadsheet database and a "real" database?
DATABASE MANAGEMENT SYSTEMS CMAM301. Introduction to database management systems  What is Database?  What is Database Systems?  Types of Database.
1 CSE 2337 Introduction to Data Management Textbook: Chapter 1.
CISB113 Fundamentals of Information Systems Data Management.
Unit 5 Advanced Databases The Purpose and features of a relational database.
Lars Perner, Instructor 1 MKTG 476RELATIONAL DATABASES Relational Databases “Flat” databases and spreadsheets Relational databases Uses –Record keeping.
(Spring 2015) Instructor: Craig Duckett Lecture 08: Tuesday, May 5, 2015 Mere Mortals Chap. 6 Summary, Team Work Time 1.
Database Management Systems (DBMS)
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Lesson 2: Designing a Database and Creating Tables.
INTRODUCTION TO DATABASE DESIGN. Definitions Database Models: Conceptual, Logical, Physical Conceptual: “big picture” overview of data and relationships.
Databases 101 © Dolinski What you will learn How relational databases work What are the components that make up a database How to create each component.
Microsoft Access Database Creation and Management.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
CSCI-235 Micro-Computers in Science Databases. Database Concepts Data is any unorganized text, graphics, sounds, or videos A database is a collection.
DATA SCIENCE MIS0855 | Spring 2016 Designing Data
GO! with Microsoft Office 2016
Creating a Database Microsoft Access.
Databases Chapter 16.
Introduction to Database Systems
(Winter 2017) Instructor: Craig Duckett
(Winter 2017) Instructor: Craig Duckett
GO! with Microsoft Access 2016
CSCI-100 Introduction to Computing
Instructor: Craig Duckett
Relational Database Model
The ultimate in data organization
Presentation transcript:

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 because entries are dynamic. Example is customer purchases and inventory control database Analytical - once data are collected, they remain static. This is typical of scientific databases Legacy -Also known as inherited database. Created by someone else Created-My own term for a database you create Derived-Database you create by importing another database

Flat file databases This is commonly the way we first view “databases”. Spreadsheets, word processing documents or simple ASCII files are common examples

Flat file databases This is commonly the way we first view “databases”. Spreadsheets, word processing documents or simple ASCII files are common examples Order IDOrder Date Ship Date Sales RepCustomerItem 1QuantityItem 2Quantity…. 110 May, May 2003 JimMSUPlankton Splitter 1Ekman Dredge 1…. 2May 11, May 2003 JimMichigan StateEkman Dredge 2Plankton Splitter 2…. 35/12/ May 2003 Bill, JimM.S.U.Plankton net3…. 45/12/0311 May 2003 Jim, BillThat other school in Ann Arbor Zooplankton net 1….

This example shows a lot of problems. For example, -Very constrained - only two items allowed per order -Lacks ability to search easily (e.g., finding a specific item ordered is difficult and not always robust) -Lacks database integrity. For example, MSU is not represented consistently The first and most critical concept is that of a relational database where the data are stored in multiple tables when necessary Associated with this is the key idea that the data may be stored in a different format than how we view the data We will get back to these ideas again (probably more often than you would like!)

Overview of Database Design Process 1. Goals and objectives for database 2. Analyze current database 3. Create data structure 4. Establish table relationships 5. Define business rules 6. Establish views 7. Review data integrity One of the key points is that this is an iterative process – you may need to go back to earlier steps if you find problems

Example of Database Design Process -Introduction to example data set 1. Goals and objectives Goal is to be able to determine the catch and size distribution of individual fish species at specific sites or groups of sites in our research program. We also want to be able to describe habitat conditions at these sites and relate them to the fish catches Objectives: 1.To be able to compute catch per effort for each species at individual sites, and for the above barrier sites and for the below barrier sites as a group 2.To be able to compute mean size for each species at individual sites, and for the above barrier sites and below barrier sites 3....

2. Analyze current database In this case, we have data sheets already filled in, so we will use this to analyze our current (paper) database Begin by describing how data are collected. During this process, focus on units of observation (entities) or sampling events, and descriptions or measurements. Create list of all variables (attributes), entities and events Associate every variable with one or more entity or event

Water flow Barrier Within a site Transect 1 Width, Depth, 50 substrate particles Transect 2 Transect 3

VariablesEntities or Events Stream nameShocking Fish species caughtHabitat Fish length Sample date Position (Above or Below Barrier) Treatment or Reference Stream Segment ID number (=site) Length of segment Crew members Conductivity Water Temperature Weather Conditions Water Conditions Transect width Transect depth Transect ID number Particle size

Refinements VariablesEntities or Events Stream nameShocking Fish species caughtHabitat Fish species caught (Common name, Streams scientific name, family) Transects Fish length Substrate Sample date Year, Month, Day Position (Above or Below Barrier) Treatment or Reference Stream Segment ID number (=site) Length of segment Crew members (always three) Conductivity Water Temperature Weather Conditions (Cloud Cover, Precipitation) Water Conditions (Water color, Water height) Transect width Transect depth Transect ID number Particle size

From this preliminary set of entities and descriptors, develop preliminary list of tables and fields TABLES- contain information on a particular entities or events FIELDS - describe the attributes of entities or events RECORD- contains the information or data on an individuals

Characteristics of a “Good” Field It represents a characteristic of the subject of the table It contains only a single value (e.g., if had two instructors for a course, the instructor field should not contain both names). This is in contrast to MULTIVALUED FIELDS. It can not be broken down into smaller components (e.g., the entire address for a person can be broken down into street address, city, state, zip code). This is in contrast to MULTIPART FIELDS. It does not contain a calculated value. Fields which are determined by values in other fields are CALCULATED FIELDS. The field is unique within the database unless it is needed to link tables The field retains all its characteristics if it appears in more than one table

Characteristics of a “Good” Table Each table refers to a single class of entities or unit of observation or event There is a way to uniquely identify each entry in a table. This is called the PRIMARY KEY. It does not contain multipart, multivalued, or calculated fields. It does not contain unnecessary fields, or unnecessary redundant data It contains all of the fields necessary to link it to other tables you want to link (or relate) it to

Stream Table Stream ID Stream Name Barrier or Reference Shocking Event Table Stream ID Position (above/below) Segment Date Crew Segment Length Conductivity Water Temperature Weather Water Conditions Habitat Transect Table Stream ID Transect number Width Depth ???Substrate??? Fish Table Stream ID Position (above/below) Fish name Length Total Catch First Cut at Developing Tables

Stream Table Stream ID Stream Name Barrier or Reference Shocking Event Table Stream ID Sampling Event ID Position (above/below) Segment Date Crew Segment Length Conductivity Water Temperature Weather Water Conditions Habitat Transect Table Stream ID Sampling Event ID Transect number Width Depth ???Substrate??? Fish Table Stream ID Sampling Event ID Position (above/below) Fish name Fish species code Length Total Catch Refinements to Tables Substrate Table Sampling Event ID Transect number Particle ID Particle size code

Another example: Deer habitat use in SE Michigan Habitat patches -size -cover type Deer characteristics -Deer ID -age -sex Telemetry observation -Year -Month -Day -Time -Deer ID -Habitat patch (or lat/lon ?)

Homework Develop list of tables and fields for your database project With a partner, go over your list to determine if each table and field meets the criteria for being “good”