Tải bản đầy đủ (.pptx) (53 trang)

Experiencing MIS 7th by m kronenke chapter 05

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (3.79 MB, 53 trang )

Chapter 5

Database Processing


“No, Drew, You Don’t Know Anything About Creating Queries."



AllRoad Parts operational database used to determine which parts to consider for 3D printing.



If Addison and Drew depend on Lucas (or IT dept) to produce reports, they will (a) wait a long time and (b) probably not
get what they want.



Once they get data, Addison create queries and reports without help from Lucas.



Relying on own skills gives more freedom and better results.



Relational database technology not appropriate for 3D parts files or graphics used for query-by-graphics. MongoDB a
better choice.

Copyright © 2015 Pearson Education, Inc.


5-2


Study Questions

Q1: What is the purpose of a database?
Q2: What is a database?
Q3: What is a database management system?
Q4: How do database applications make databases more useful?
Q5: How are data models used for database development?
Q6: How is a data model transformed into a database design?
Q7: What is the users’ role in the development of databases?
Q8: 2024?

Copyright © 2015 Pearson Education, Inc.

5-3


Q1: What Is the Purpose of a Database?





Organize and keep track of things
Keep track of multiple themes
General rule:





Single theme - store in a spreadsheet
Multiple themes - use a database

Copyright © 2015 Pearson Education, Inc.

5-4


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

Copyright © 2015 Pearson Education, Inc.

5-5


Student Data Form With Multiple Themes

Copyright © 2015 Pearson Education, Inc.

5-6


Q2: What Is a Database?

Copyright © 2015 Pearson Education, Inc.

5-7



Hierarchy of Data Elements

Copyright © 2015 Pearson Education, Inc.

5-8


Components of a Database

Copyright © 2015 Pearson Education, Inc.

5-9


Example of
Relationships Among
Rows

Copyright © 2015 Pearson Education, Inc.

5-10


Sample Metadata (in Access)

Copyright © 2015 Pearson Education, Inc.

5-11



Ethics Guide: Querying Inequality?






MaryAnn has a data mart.
Business professional majored in HR, now "expert" in SQL.
Uses SQL to do her job faster and better.
What are your personal, professional, social responsibilities?

Copyright © 2015 Pearson Education, Inc.

5-12


Ethics Guide: Querying Inequality? (cont’d)



You can query databases to learn all sorts of patterns and trends.




Be sure what answers you want before starting query.

How strongly do you feel about social and personal responsibility, considering your needs and those of your

family?



How important is social responsibility posture of an employer to you? Is that something you want to add to your
criteria for finding a job?

Copyright © 2015 Pearson Education, Inc.

5-13


Q3: What Is a Database Management System (DBMS)?






Program used to create, process, and administer a database.
Licensed from vendors such as IBM, Microsoft, Oracle, and others.
DB2 from IBM, Access and SQL Server from Microsoft, Oracle Database from Oracle Corporation.
MySQL - open source, license-free for most applications.

Copyright © 2015 Pearson Education, Inc.

5-14


Processing the Database

Four DBMS operations

1. Read
2. Insert
3. Modify
4. Delete data

Copyright © 2015 Pearson Education, Inc.

5-15


Processing the Database



Structured Query Language - SQL (see-quell)

– International standard
– Used by most popular DBMS
INSERT INTO Student
([Student Number], [Student Name], HW1, HW2, MidTerm)
VALUES (1000, ‘Franklin, Benjamin’, 90, 95, 100)

Copyright © 2015 Pearson Education, Inc.

5-16


Administering the Database




Used to set up a security system involving user accounts, passwords, permissions, and limits for
processing.




Permissions can be limited in very specific ways.
Backing up database data, adding structures to improve performance of database applications, removing
unwanted data.

Copyright © 2015 Pearson Education, Inc.

5-17


Summary of Database Administration Tasks

Copyright © 2015 Pearson Education, Inc.

5-18


Summary of Database Administration Tasks (cont'd)

Copyright © 2015 Pearson Education, Inc.

5-19



Elements of Database Applications

Forms

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

Reports

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

Queries

Search based upon data values provided by the user

Application Programs

Copyright © 2015 Pearson Education, Inc.

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

5-20


Using MIS InClass 5: How Much Is a Database Worth?







Data has resale value.
Data on everything customers do.
Use to target customers for offerings they care about, and avoid those they don’t.
Costly and difficult to replace data collected over many years.

Copyright © 2015 Pearson Education, Inc.

5-21


Q4: How Do Database Applications Make Databases
More Useful?

Copyright © 2015 Pearson Education, Inc.

5-22


Example of a Student Report

Copyright © 2015 Pearson Education, Inc.

5-23


Query Example


Copyright © 2015 Pearson Education, Inc.

5-24


Browser Forms, Reports, Queries, and Applications

Copyright © 2015 Pearson Education, Inc.

5-25


×