1 of 41

Experiencing M I S

Tenth Edition

Chapter 5

Database Processing

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

2 of 41

“The tricky part is getting the computer to correctly identify the inventory item.”

  • eHermes is using Google’s image classifier A P I to identify images that customers upload.
  • Costs a few dollars per 1000 images searched
  • Need new data storage
  • Need redesigned database
  • Need new D B M S
  • Will be sending and receiving data from multiple data sources
  • MongoD B for tracking image files?

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

3 of 41

Study Questions

5.1 Why do you need to know about databases?

5.2 What is a database?

5.3 What is a database management system (D B M S)?

5.4 How do database applications make databases more useful?

5.5 How can eHermes benefit from a database system?

5.6 What are nontraditional D B M S products?

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

4 of 41

Why Use a Database?

5.1 Why do you need to know about databases?

  • Can database technology facilitate your project goals?
  • Databases are ubiquitous in commerce.
  • How to turn data into useful information.
  • Business adaptation requires changing database structure.
  • As a future business professional, you might need to build a database.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

5 of 41

What is the Purpose of a Database?

5.1 Why do you need to know about databases?

  • Organize and keep track of things.
  • Keep track of multiple themes.
  • General rule:
    • Single theme—store in a spreadsheet.
    • Multiple themes—use a database.
    • What’s a theme?
      • E x: student grades, student emails, student office visits.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

6 of 41

A List of Student Grades Presented in a Spreadsheet – Single Theme

5.1 Why do you need to know about databases?

Figure 5.1 A List of Student Grades Presented in a Spreadsheet

Source: Microsoft Excel 2019

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

7 of 41

Student Data Form for a Database Application

5.1 Why do you need to know about databases?

Figure 5.2 Student Data Shown in a Form from a Database

Source: Microsoft Access 2019

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

8 of 41

What is a Database?

5.2 What is a database?

Figure 5.3 Student Table (also called a file)

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

9 of 41

Hierarchy of Data Elements

5.2 What is a database?

Figure 5.4 Hierarchy of Data Elements

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

10 of 41

Components of a Database

5.2 What is a database?

Figure 5.5 Components of a Database

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

11 of 41

Example of Relationships Among Rows

5.2 What is a database?

Figure 5.6 Example of Relationships Among Rows

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

12 of 41

Sample of Access Metadata

5.2 What is a database?

Figure 5.7 Sample Metadata (in Access)

Source: Microsoft Access 2019

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

13 of 41

Database Management System (D B M S)

5.3 What is a database management system (D B M S)?

  • Functions of a D B M S
    • Creating the Database and its structures
    • Processing the database
    • Administering the database
  • Licensed from vendors
    • I B M, Microsoft, Oracle, and others.
      • D B 2, Access, S Q L Server, Oracle Database.
  • Open source
    • My S Q L: License-free for most applications.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

14 of 41

Processing the Database (1 of 2)

5.3 What is a database management system (D B M S)?

  • Creating the database (see form in Figure 5.7)
  • Modifying the database structure (see Figure 5.8)
  • D B M S Process Operations
    • Read
    • Insert
    • Modify
    • Delete data

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

15 of 41

Adding a New Column to a Table (in Access)

5.3 What is a database management system (D B M S)?

Figure 5.8 Adding a New Column to a Table (in Access)

Source: Microsoft Access 2019

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

16 of 41

Processing the Database (2 of 2)

5.3 What is a database management system (D B M S)?

  • Structured Query Language—S Q L (see-quell)
    • International standard
    • Used by nearly all D B M S
  • S Q L Example
  • INSERT INTO Student ([Student Number], [Student Name], H W 1, H W 2, MidTerm)
  • VALUES (1000, ‘Franklin, Benjamin’, 90, 95, 100);

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

17 of 41

Administering the Database

5.3 What is a database management system (D B M S)?

  • Set up security system, user accounts, passwords, permissions, limits for processing.
  • Limit user permissions.
  • Back up database, improve performance of database applications, remove unwanted data.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

18 of 41

Summary of Database Administration Tasks (1 of 2)

5.3 What is a database management system (D B M S)?

Figure 5.9 Summary of Database Administration (D B A) Tasks

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

19 of 41

Forms, Queries, Reports, and Applications

5.4 How do database applications make databases more useful?

Four elements of a database application

Purposes

Forms

View data; insert new, update existing, delete existing data.

Reports

Structured presentation of data using sorting, grouping, filtering, other operations.

Queries

Search using values provided by user.

Application programs

Provide security, data consistency, special purpose processing, e.g., handle out-of-stock situations.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

20 of 41

Users Accessing Databases

5.4 How do database applications make databases more useful?

Figure 5.10 Processing Environment of a Traditional Database Application System

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

21 of 41

Example of a Student Report

5.4 How do database applications make databases more useful?

Figure 5.11 Example of a Student Report

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

22 of 41

Query Example

5.4 How do database applications make databases more useful?

Figure 5.12a Sample Query Form Used to Enter Phrase for Search

Source: Microsoft Corporation

Figure 5.12b Sample Query Results of Query Operation

Source: Microsoft Access 2019

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

23 of 41

Browser Forms, Reports, Queries, and Applications

5.4 How do database applications make databases more useful?

Figure 5.13 Processing Environment of Browser-Based Database Applications

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

24 of 41

Account Creation Browser Form

5.4 How do database applications make databases more useful?

Figure 5.14 Account Creation Browser Form

Source: Microsoft Corporation

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

25 of 41

Browser Report

5.4 How do database applications make databases more useful?

Figure 5.15 Browser Report for SharePoint Site

Source: Microsoft Corporation

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

26 of 41

A Database System at eHermes

5.5 How can eHermes benefit from a database system?

  • Speed up the process of inventorying new items received from sellers.
    • “Can we add a new item’s entry in our database using a photo and Google’s image classifier to recognize the item, search for product information from multiple sources, and complete the database entry?”
  • Choices
    • Store images on a file server and keep metadata about each image in a relational database to query with S Q L.
    • Use No S Q L Mongo D B to store images in same database as the metadata.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

27 of 41

eHermes Chooses Option 1

5.5 How can eHermes benefit from a database system?

  • Use Microsoft S Q L Server to store metadata.
  • Less risky: uses known technology.
  • Creates E-R diagram.
  • Decide to keep design simple at first.

Figure 5.16 E-R Diagram for eHermes’ Database

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

28 of 41

Nontraditional D B M S Products

5.6 What are nontraditional D B M S products?

Relational model is not needed today

  • Need to store new data types differently
    • Atomic, Consistent, Isolated, Durable transactions
    • Critical to traditional commercial applications
    • New Internet applications (Twitter) don’t need A C I D
  • NoS Q L (nonrelational) D B M S
    • D B M S products that support high transaction rates, simple data structures, replicated on many servers in the cloud, without A C I D transaction support.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

29 of 41

Need for Faster Processing Using Many Servers

5.6 What are nontraditional D B M S products?

  • Dynamo
    • Amazon-developed nonrelational data store
  • Bigtable
    • Google-developed nonrelational data store
  • Cassandra
    • Facebook-developed using concepts from both Dynamo and Bigtable
  • Top-Level Project (T L P)
    • Open-source Cassandra by Apache

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

30 of 41

New Categories of D B M S

5.6 What are nontraditional D B M S products?

  • New S Q L D B M S
    • Process very high levels of transactions, like No S Q L D B M S, but provide A C I D support.
    • May or may not support relational model.
    • Current hotbed of development.
  • In-memory D B M S using S Q L extension
    • S A P H A N A, Tableau.
    • High volume A C I D transaction support with complex relational query processing.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

31 of 41

Will These New Products Replace the Relational Model?

5.6 What are nontraditional D B M S products?

  • Probably not.
    • Conversion enormously expensive and disruptive
    • No S Q L D B M S products very technical and require a deep background in computer science to use
  • No S Q L’s impact on D B M S product market?
    • Database software market experience viable new entrants

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

32 of 41

What Do Nonrelational D B M S Mean for You?

5.6 What are nontraditional D B M S products?

  • What do nonrelational D B M S mean for you?
    • Knowledge is useful—stay abreast of developments
    • Watch nonrelational D B M S product developments from an investor’s perspective
    • New opportunities and career paths will develop around nonrelational databases
    • Use knowledge to separate yourself from competition when it comes to job interviews

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

33 of 41

How does the knowledge in this chapter help you?

  • Understand purpose of a database and ways databases are processed
  • Know about new categories of nontraditional D B M S
  • This knowledge will enable you to be an effective team member when your organization has needs like those at eHermes

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

34 of 41

Slick Analytics (1 of 2)

So What?

  • C I O s are looking to merge the storage and analysis of cloud-based data into one synergistic operation.
  • Laredo Petroleum.
    • Old approach used numerous spreadsheets and manual calculations.
    • Value of data diminished due to the time it took to analyze the data.
    • New approach uses cloud storage and cloud analytics.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

35 of 41

Slick Analytics (2 of 2)

So What?

  • C I O s are looking to merge the storage and analysis of cloud-based data into one synergistic operation.
  • Laredo Petroleum.
    • Old approach used numerous spreadsheets and manual calculations.
    • Value of data diminished due to the time it took to analyze the data.
    • New approach uses cloud storage and cloud analytics.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

36 of 41

Don’t Reuse That Password

Security Guide

  • Today, we are asked/motivated to create accounts on all sorts of web sites so that we get all the cool features offered
  • People routinely reuse passwords as they create these accounts. Why?
  • What risks are we exposed to when passwords are reused across multiple accounts?
  • What options exist to avoid these problems?
  • How can people be motivated to use these options?

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

37 of 41

Data Engineer

Career Guide

Kailey Smith at Extend

Q. What attracted you to this field?

A. “I've always enjoyed working with computers and figuring things out, but after taking my first information systems course…I was sold. This is a field that will be growing and expanding with new and exciting opportunities. There are so many different areas to explore, and you can definitely be paid pretty well!”

Q. What advice would you give to someone who is considering working in your field?

A. “Keep an open mind. Try out new things. When I was in school, I was focused on the security side of things because it sounded more exciting, but I ended up working more on the data side. Figure out what really excites you, but the more you learn, the more opportunities will open up to you.”

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

38 of 41

Searching for Clues, and Your Face

Ethics Guide

  • Law enforcement has a photo of an unknown suspect in a murder case.
  • A company offers a database of facial images that can be matched, potentially providing a way to identify the suspect.
  • The facial image database has been compiled from publicly available images on the Internet, without the permission of any of the individuals
  • Should the database be used to help solve the crime?

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

39 of 41

Active Review

5.1 Why do you need to know about databases?

5.2 What is a database?

5.3 What is a database management system (D B M S)?

5.4 How do database applications make databases more useful?

5.5 How can eHermes benefit from a database system?

5.6 What are nontraditional D B M S products?

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

40 of 41

Datadog

Case Study 5

  • Cloud computing is widespread among all types of organizations
  • Datadog provides a tool that allows real-time monitoring and data analysis for cloud operations.
  • Datadog has experienced rapid growth and is a market leader.
  • Can Datadog maintain its historical performance in a market that may be approaching saturation?
  • What do you think about Datadog’s future prospects?

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved

41 of 41

Copyright

This work is protected by United States copyright laws and is provided solely for the use of instructors in teaching their courses and assessing student learning. Dissemination or sale of any part of this work (including on the World Wide Web) will destroy the integrity of the work and is not permitted. The work and materials from it should never be made available to students except by instructors using the accompanying text in their classes. All recipients of this work are expected to abide by these restrictions and to honor the intended pedagogical purposes and the needs of other instructors who rely on these materials.

Copyright © 2023, 2021, 2019 Pearson Education, Inc. All Rights Reserved