Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.

Slides:



Advertisements
Similar presentations
Moores Law Co-founder of Intel The number of transistors per square inch on an integrated chip [speed of computing] doubles every 18 months. Accurate for.
Advertisements

Information Systems Today: Managing in the Digital World
Chapter 4 Database Processing. Agenda Purpose of Database Terminology Components of Database System Multi-user Processing Database Design Entity-relationship.
Database Design Chapter Extension 4. ce4-2 Study Questions Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall Q1: Who will volunteer?
Chapter 5 Database Processing.
Accounting System Design
Relational Databases Chapter 4.
COMM 226 Database and content management Chitu Okoli Associate Professor in Business Technology Management John Molson School of Business, Concordia University,
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Client/Server Databases and the Oracle 10g Relational Database
Database Processing Chapter 4.
© 2007 Prentice Hall, Inc.1 Using Management Information Systems David Kroenke Database Processing Chapter 4.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-1 David M. Kroenke’s Chapter One: Introduction Part One Database Processing:
3-1 Chapter 3 Data and Knowledge Management
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Information Technology in Organizations
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Database Processing Chapter "No, Drew, You Don’t Know Anything About Report Writing.” Copyright © 2014 Pearson Education, Inc. Publishing as Prentice.
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-1 David M. Kroenke’s Database Processing: Fundamentals, Design, and.
David M. Kroenke and David J. Auer Database Processing—12 th Edition Fundamentals, Design, and Implementation Chapter One: Introduction KROENKE AND AUER.
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
Why Databases.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
Chapter 5 Database Processing.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Using MIS 4e Chapter 5 Database Processing
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
David M. Kroenke’s Chapter One: Introduction Part Two Database Processing: Fundamentals, Design, and Implementation.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Chapter 5 Database Processing. Neil uses software to query a database, but it has about 25 standard queries that don’t give him all he needs. He imports.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.
Getting Started Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
Introduction to Databases Three File Processing Systems DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-2.
Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management “Modern organizations are said to be drowning.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 5 (Part a): Logical Database Design and the Relational Model Modern Database Management.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Chapter 3: Relational Databases
Database Processing Chapter "No, Drew, You Don’t Know Anything About Creating Queries.” Copyright © 2015 Pearson Education, Inc. Operational database.
Copyright © 2014 Pearson Canada Inc. 5-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5a Database Design Part 2: Using Information Technology.
Information Systems Today: Managing in the Digital World
David M. Kroenke and David J
Chapter 12 Information Systems.
Chapter 4 Relational Databases
Copyright © 2015 Pearson Education, Inc.
Databases and Information Management
Database Processing: David M. Kroenke’s Chapter One: Introduction
Chapter 9 Designing Databases
Basic Concepts in Data Management
Databases and Information Management
Getting Started Chapter One DATABASE CONCEPTS, 5th Edition
Getting Started Chapter One DATABASE CONCEPTS, 4th Edition
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Presentation transcript:

Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1

Learning Objectives Q1. What is the purpose of a database? Q2. What are the contents of a database? Q3. What are the components of a database application system? Q4. How do data models facilitate database design? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-2

Learning Objectives Q5. How is a data model transformed into a database design? Q6. What is the user’s role in the development of databases? Q7. How can the intramural league improve its database? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-3

What is the purpose of a database? Databases keep track of things Lists of data and themes – Single theme (concept) Can be managed using a spreadsheet – Multiple themes (concepts) Require databases Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-4

What is the purpose of a database? Figure 4-1 List of Student Grades in a Spreadsheet Figure 4-2 Student Data in a Form, Data from a Database Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-5

What are the contents of a database? Database – self-describing collection of integrated records Characters (bytes) Columns (fields) Rows (records) Tables (files) Figure 4-3 Elements of the Student Table (also called a file) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-6

What are the contents of a database? What are the relationships among rows? – Key A value in one row of one table that appears as a value in another row of another table – Primary key A value that identifies a unique row in a table – Foreign key A value in one table that appears as a primary key in another table to which it relates Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-7

What are the contents of a database? Relational Database Figure 4-6 Examples of Relationships Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-8

What are the contents of a database? Metadata – Data that describe data Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-9

What are the components of a Database Application System? Database DBMS – Create/Administer – Processing Language Database Applications Figure 4-8 Components of a Database Application System Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-10

What are the components of a Database Application System? Database v. Database Management Systems (DBMS) – Databases are self-describing collections of integrated records – DBMS are software used to create, process, and administer databases Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-11

What are the components of a Database Application System? Database Management Systems (DBMS) – Creating the database and its structures – Processing the Database Read, insert, modify, or delete data Structured Query Language (SQL) – Administering the database  Database Administrator (DBA) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-12

What are the components of a Database Application System? Database Management Systems (DBMS) Figure 4-10 Summary of Database Administration Tasks Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-13

What are the components of a Database Application System? Database Applications – Collection of: Input For Apps Report APPS Query Apps Application programs Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-14

What are the components of a Database Application System? Multi-user Processing – Lost update problem Figure 4-14 Applications Running on a Web Server Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-15

What are the components of a Database Application System? Categories of DBMS – Enterprise DBMS 1000’s of users – Work Group DBMS Less than 100 users (server systems) – Personal DBMS 1 user (personal computers) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-16

8/22/2011 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 17

8/22/2011 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 18

8/22/2011 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 19 A data dictionary contains data about each file in the database and each field in those files

What are the components of a Database Application System? Database DBMS Database Application(s) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-20

How Do Data Models Facilitate Database Design? Figure 4-16 Database Design Process Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-21

How Do Data Models Facilitate Database Design? Entities (Records) – Something users want to track Attributes (Fields) – Describe characteristics of entities – Identifier Relationships – Entities linked to each other Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-22

How Do Data Models Facilitate Database Design? Entity Relationship (E-R) Diagrams – Maximum Cardinality Figure 4-19 Entity Relationships, Diagram Version1 Figure 4-20 Entity Relationships, Diagram Version2 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-23

How Do Data Models Facilitate Database Design? Entity Relationship (E-R) Diagrams – Maximum and Minimum Cardinality Figure 4-21 Entity Relationships, Diagram Version 3, Minimal Cardinality Shown Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-24

How Is a Data Model Transformed into a Database Design? Normalization – Converting poorly structured tables into two or more well-structured tables Design considerations – 1:N relationships – N:M relationships Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-25

How Is a Data Model Transformed into a Database Design? Normalization – Data integrity problems – Normalizing for data integrity Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-26

How Is a Data Model Transformed into a Database Design? Design considerations – 1:N relationships – N:M relationships Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-27

What is the User’s Role in the Development of Databases? Users are final judges as to the data in the database Users should review the data models before developing the database Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-28

How Can the Intramural League Improve Its Database? Opening Vignette: – Intramural problems Process problem (addressed in Chapter 5) Database problem Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-29

How Can the Intramural League Improve Its Database? Database Revision 1 – Update “Team” table with “Season” field – Rename the table “Team_Season” Figure 4-28 League Database Revision 1, Team_Season Table Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-30

How Can the Intramural League Improve Its Database? Database Revision 1 – Normalization is needed Figure 4-30 League E-R Diagram Revision 1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-31

How Can the Intramural League Improve Its Database? Database Revision 2 – E-R Diagram Figure 4-32 League E-R Diagram Revision 2 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-32

How Can the Intramural League Improve Its Database? Opening Vignette: – Intramural problems Process problem (addressed in Chapter 5) Database problem Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-33

Ethics Guide Nobody Said I Shouldn’t – Chris restored his company’s database on his personal computer – Was this illegal? Unethical? Neither? – Discussion Questions Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-34

Conclusion Q1. What is the purpose of a database? Q2. What are the contents of a database? Q3. What are the components of a database application system? Q4. How do data models facilitate database design? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-35

Conclusion Q5. How is a data model transformed into a database design? Q6. What is the user’s role in the development of databases? Q7. How can the intramural league improve its database? Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-36

Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-37