Chapter 5 – Storing and Organizing Information Information Systems, First Edition John Wiley & Sons, Inc by France Belanger and Craig Van Slyke Contributor:

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

Technology Guide 3 Data and Database T3-1. IT for Management Prof. Efraim Turban T3-2 File Management Hierarchy of data for a computer-based file Record.
© Copyright 2011 John Wiley & Sons, Inc.
Chapter 81 Creating a Production Process Chapter 8 Achieving Quality Through Continual Improvement Claude W. Burrill / Johannes Ledolter Published by John.
© Copyright 2011 John Wiley & Sons, Inc.
© Copyright 2011 John Wiley & Sons, Inc.
© Copyright 2011 John Wiley & Sons, Inc.
Chapter Chapter 13-2 Chapter 13 Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using Rea Creating Database Tables.
Chapter 3 Database Management
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Chapter 14 Organizing and Manipulating the Data in Databases
Chapter 5 The Relational Database Model: Introduction
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 3: Data Modeling
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Databases Chapter 11.
Chapter 6 – Analyzing Information for Business Decision Making
Information Technology Project Management
Accounting Information Systems, 1st Edition
Introduction to Databases
Chapter 7 Logical Database Design
Chapter 6 The Relational Database Model: Additional Concepts
Introduction to Databases Chapter 1: Introducing Data and Data Management.
Chapter 13 – Information Systems, First Edition John Wiley & Sons, Inc by France Belanger and Craig Van Slyke Contributor: Brian West, University of Louisiana.
PowerPoint Presentation for Dennis, Wixom, & Roth Systems Analysis and Design, 3rd Edition Copyright 2006 © John Wiley & Sons, Inc. All rights reserved..
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 13: Physical Architecture Layer Design Alan Dennis,
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Fundamentals of Database Management Systems, 2nd ed
Chapter 4: Organizing and Manipulating the Data in Databases
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Accounting Principles, Ninth Edition
Slide 1 UML Review Chapter 2: Introduction to Object-Oriented Systems Analysis and Design with the Unified Modeling Language, Version 2.0 Alan Dennis,
Today’s Agenda  Any questions about the assignment (due Mon)?  Quiz  Quiz review  Homework for Friday:  Watch the two videos on the Coursera db website.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Systems.
Chapter 12 – Information Systems, First Edition John Wiley & Sons, Inc
Chapter Chapter 13-2 Accounting Information Systems, 1 st Edition Data and Databases.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling.
© 2007 John Wiley & Sons Chapter 3 - Competitor AnalysisPPT 3-1 Competitor Analysis Chapter Three Copyright © 2007 John Wiley & Sons, Inc. All rights reserved.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved
Introduction to Information Technology, 2nd Edition Turban, Rainer & Potter © 2003 John Wiley & Sons, Inc. 8-1 Introduction to Information Technology Chapter.
Slide 1-1 Chapter 1 Terms Information Systems Overview Introduction to Information Systems Judith C. Simon.
Core Concepts of ACCOUNTING INFORMATION SYSTEMS Moscove, Simkin & Bagranoff John Wiley & Sons, Inc. Developed by: S. Bhattacharya, Ph.D. Florida Atlantic.
Chapter 4-1. Chapter 4-2 Chapter 4: Data Modeling Introduction An Overview of Databases Steps in Creating a Database Using REA Creating Database Tables.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling.
PowerPoint Presentation for Dennis, Wixom & Tegardem Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 6: Functional Modeling.
Copyright 2004 John Wiley & Sons, Inc Information Technology: Strategic Decision Making For Managers Henry C. Lucas Jr. John Wiley & Sons, Inc Dinesh.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Chapter 14 – Information Systems, First Edition John Wiley & Sons, Inc by France Belanger and Craig Van Slyke Contributor: Brian West, University of Louisiana.
Slide 1 Systems Analysis and Design With UML 2.0 An Object-Oriented Approach, Second Edition Chapter 2: Introduction to Object-Oriented Systems Analysis.
Copyright © 2000 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in Section 117 of the 1976.
Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005.
Chapter 171 Information Technology For Management 6 th Edition Turban, Leidner, McLean, Wetherbe Lecture Slides by L. Beaubien, Providence College John.
Slide 1 Systems Analysis and Design with UML Version 2.0, Second Edition Alan Dennis, Barbara Wixom, and David Tegarden Chapter 8: Behavioral Modeling.
Chapter 5-1. Chapter 5-2 Chapter 5: Organizing and Manipulating the Data in Databases Introduction Normalization Validating the Data in Databases Extracting.
Introduction to Information Technology, 2 nd Edition Turban, Rainer & Potter © 2003 John Wiley & Sons, Inc 2-1 Introduction to Information Technology 2.
Introduction to Business Information Systems by Mark Huber, Craig Piercy, Patrick McKeown, and James Norrie Tech Guide D: The Details of SQL, Data Modelling,
I-1. I-2 I ACCOUNTING FOR SOLE PROPRIETORSHIPS Accounting, Fifth Edition.
Chapter 5 Storing and Organizing Information Information Systems for Business: An Experiential Approach Second Edition France Bélanger, Craig Van Slyke,
Physical Changes That Don’t Change the Logical Design
Systems Analysis and Design 5th Edition Chapter 4. Use Case Analysis
Systems Analysis and Design 5th Edition Chapter 4. Use Case Analysis
Systems Analysis and Design With UML 2
Systems Analysis and Design 5th Edition Chapter 8. Architecture Design
ACCOUNTING INFORMATION SYSTEMS
Presentation transcript:

Chapter 5 – Storing and Organizing Information Information Systems, First Edition John Wiley & Sons, Inc by France Belanger and Craig Van Slyke Contributor: Brian West, University of Louisiana at Lafayette 5-1Copyright 2012 John Wiley & Sons, Inc.

Learning Objectives Decide whether it is better to store data using a database management system or a spreadsheet. Discuss the purpose of a database management system Explain the basic structure and components of relational databases Describe the purpose of foreign keys in a relational database Discuss the purpose of a relational database schema and explain its notation List and describe a number of online databases 5-2Copyright 2012 John Wiley & Sons, Inc.

The database behind Facebook Odds are you are one of the over 500 million active users of Facebook. Keeping track of all of this information requires a very complex database design, in addition to a robust infrastructure. Facebook uses a variety of tools to create and manage their data. Almost 1 billion objects, such as pages, groups, events and communities Over thirty billion pieces of content, including links, posts, photos, notes, videos and new stories. Friend connections among the over 500 million active users. The average user has well over 100 friends. 5-3Copyright 2012 John Wiley & Sons, Inc.

Focusing Questions Identify the information elements that are part of a Facebook profile. What information do you think Facebook uses to determine what friend suggestions to make? 5-4Copyright 2012 John Wiley & Sons, Inc.

Data for an Amazon order Suppose you are ordering something from Amazon. What pieces of data does Amazon need to carry out your order. For example, Amazon would need your name. What other data elements does Amazon need? 5-5Copyright 2012 John Wiley & Sons, Inc.

Databases vs. spreadsheets Spreadsheets are fine for very simple data storage tasks, such as keeping simple lists, like a personal contact list or a home inventory, but, spreadsheets have a number of limitations. 5-6Copyright 2012 John Wiley & Sons, Inc.

Spreadsheets Strengths Relatively easy to use Require less planning Weaknesses Formulas could be incorrect Out of date version Out of date data 5-7Copyright 2012 John Wiley & Sons, Inc.

Databases Strengths Data is of higher quality than data stored in spreadsheets Weaknesses Requires more planning and designing More complicated 5-8Copyright 2012 John Wiley & Sons, Inc.

Databases and Database Management Systems A ____________ is an organized collection of data. These databases can store different types of “information” including text, numbers, documents, images and videos. Databases are managed by __________________________ (DBMS). A database management system provides the means for creating, maintaining and using databases. 5-9Copyright 2012 John Wiley & Sons, Inc.

Database Management Systems (DBMS) Professional database designers and administrators handle the creation and maintenance tasks in most organizations. Smaller database-oriented tasks can be handled by personal DBMS, such as Microsoft Access Larger, more complex databases require enterprise-level DBMS, such as Oracle, MySQL, Microsoft SQL Server, and IBM’s DB2 5-10Copyright 2012 John Wiley & Sons, Inc.

Databases Databases are integral elements of information systems. Most information systems today use multi- tiered architectures that divide processing into different elements. Applications handle the processing of data, while the DBMS is responsible for managing the data. 5-11Copyright 2012 John Wiley & Sons, Inc.

Multi-tiered Architecture Figure 5.1 – Interaction between Applications and Databases 5-12Copyright 2012 John Wiley & Sons, Inc.

Relational Databases A _________________ stores data in the form of connected tables. Tables are made up of records (rows) and fields (columns). A ____________ is a set of fields that all pertain to the same thing, while the fields represent some characteristic of the thing. A _____________ represents some characteristic of the thing 5-13Copyright 2012 John Wiley & Sons, Inc.

Relational Databases InstructorIDLastNameFirstName Figure 5.2 – Instructor Table 5-14Copyright 2012 John Wiley & Sons, Inc.

Primary Key In order for database to work, we need some way to uniquely identify each record. This unique identifier is called the ____________. Each table in a database has a primary key. Sometimes a primary key is made up of more than one field, called a composite primary key. 5-15Copyright 2012 John Wiley & Sons, Inc.

Foreign Keys Connections are implemented by foreign keys _______________ are fields that reference a primary key in a related table. This cross-referencing is called a relationship. Cross-referencing foreign keys make it easy to combine data contained in multiple tables. 5-16Copyright 2012 John Wiley & Sons, Inc.

Related Tables Figure 5.3 – A small Database 5-17Copyright 2012 John Wiley & Sons, Inc.

Normal Forms There are some rules that govern relational database design called “normal forms” These rules are in place to ensure data consistency by eliminating unnecessary redundancy. A particular row in a table can be related to at most one row in a related table. For example, in most businesses a specific order can only be related to one customer. 5-18Copyright 2012 John Wiley & Sons, Inc.

Normal Forms Copyright 2012 John Wiley & Sons, Inc.5-19 SectionIDCourseIDCourseTitleInstructorIDLastNameFirstName 1001IT101Introduction to IT1SmithSadie 1002IT101 Introduction to Computers3ThurmanMaggie 1003IT320 Database Administration1JacksonSadie 1004IT400Systems Analysis4WilsonFred 1005IT600IT Management4WilsonFred Figure 5.4 – Redundancy Example

Normal Forms What is Instructor #1’s last name? This instructor’s last name is “Smith” in the first row, and Jackson in the third row. This inconsistency, which we call an anomaly, results from storing the instructor’s name in multiple rows. If you only store a data element in one place, you cannot have inconsistent values. Copyright 2012 John Wiley & Sons, Inc.5-20

Relationships Many-to-many relationships also exist In many-to-many relationships a specific row can be related to multiple rows in a related table. In contrast to the one-to-many relationship, this is true in both directions. Many-to-many relationships require creating a new table that links the two related tables. These are called linking or intersection tables. Copyright 2012 John Wiley & Sons, Inc.5-21

Linking Tables Copyright 2012 John Wiley & Sons, Inc.5-22 Figure 5.5 – Many-to-many, linking table example

Relationships Although they are more unusual, one-to-one relationships also exist. These relationships a specific row in a table can be related to at most one row in a related table This is true in both directions of the relationship Copyright 2012 John Wiley & Sons, Inc.5-23

Database Diagrams As you might imagine, using the actual data to show the structure of a database only works for very small databases. For larger databases, we illustrate structure using database schema diagrams. Copyright 2012 John Wiley & Sons, Inc.5-24

Database Diagrams Copyright 2012 John Wiley & Sons, Inc.5-25 Figure 5.6 – Database Diagram

Finding business databases online Your campus library likely has a variety of business-related online databases.. Identify and briefly describe one database for each of the related purposes. Economic statistics Industry information Demographic statistics Business-related news articles. Copyright 2012 John Wiley & Sons, Inc.5-26

Online databases We have primarily discussed relational databases that store text and numeric data related to business operations. Online databases that are quite useful for performing research Databases serve a different purpose than the databases we discussed earlier These online databases contain pointers to sources of information. Most of these resources are available through libraries. Copyright 2012 John Wiley & Sons, Inc.5-27

Online databases Career research – The United States Bureau of Labor Statistics ( Preparing for a job interview – Article databases such as ABI/Inform and LexisNexis Academic are useful for finding news articles about the company and its executives Gathering information on customers or competitors – Hoovers.com provides extensive information about companies and industries. Copyright 2012 John Wiley & Sons, Inc.5-28

Summary Spreadsheets are good for storing simple lists of information. Database management systems provides the means for creating, maintaining and using databases. A relational database stores data in the form of connected tables. Tables are made up of records and fields. In a relational database a record is a set of fields that all pertain to the same thing, while the fields represent some characteristic of the thing. Copyright 2012 John Wiley & Sons, Inc.5-29

Summary In a relational database, foreign keys are fields that reference the primary keys in related tables. A database diagram shows the logical structure of a relational database, including its tables, fields and the relationships among tables. The are many online databases that store a vast array of information. These databases include article databases, market and economic databases and databases of demographic and governmental information, among other topics Copyright 2012 John Wiley & Sons, Inc.5-30

Copyright 2012 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information herein. 5-31Copyright 2012 John Wiley & Sons, Inc.