Example of a Student ReportFigure 5-11 Example of a Student Report Q5-4 How do database applications make databases more useful?... Query ExampleQ5-4 How do database applications make da
Trang 2“We Don’t Have a Way to Track the Data About the Videos.”
digital video files in separate directories for each client.
was stolen means searching hundreds of video
files
Trang 3Study Questions
Q5-1 What is the purpose of a database?
Q5-2 What is a database?
Q5-3 What is a database management system (DBMS)?
Q5-4 How do database applications make databases more
Trang 4Why Use A Database?
Q5-1 What is the purpose of a database?
Ex: student grades, student emails, student office
visits.
Trang 5A List of Student Grades Presented in a
Spreadsheet – Single Theme
Figure 5-1 A List of Student Grades Presented in a Spreadsheet
Source: Microsoft Excel 2016
Q5-1 What is the purpose of a database?
Trang 6Student Data Form for a Database
Application
Q5-1 What is the purpose of a database?
Trang 7Q2 What is a Database?
Figure 5-3 Student Table (also called a file)
Q5-2 What is a database?
Trang 8Hierarchy of Data Elements
Q5-2 What is a database?
Trang 9Components of a Database
Figure 5-5 Components of a Database
Q5-2 What is a database?
Trang 10Example of Relationships Among Rows
Q5-2 What is a database?
Trang 11Sample of Access Metadata
Figure 5-7 Sample Metadata (in Access)
Source: Microsoft Access 2016
Q5-2 What is a database?
Trang 12Querying Inequality?
Ethics Guide
• Business professional majored in HR, now "expert"
in SQL.
pattern.
and utilitarian perspectives?
Trang 13Querying Inequality? (cont’d)
Ethics Guide
trends.
personal responsibility, considering your needs
and those of your family?
employer to you?
Is that something to add to your criteria for a job
search?
Trang 14Slick Analytics
So What?
analysis of cloud-based data into one synergistic
operation.
manual calculations.
analyze the data.
Trang 15Slick Analytics (cont’d)
So What?
deposits in its wells.
robust data analysis, and data accessibility.
2020.
cloud services.
Trang 16Database Management System (DBMS)
Q5-3 What is a database management system (DBMS)?
database.
IBM, Microsoft, Oracle, and others.
Trang 17Processing the Database
Q5-3 What is a database management system (DBMS)?
Trang 18Processing the Database (cont’d)
Q5-3 What is a database management system (DBMS)?
International standard
MidTerm)
Trang 19Adding a New Column to a Table (in Access 2016)
Figure 5-8 Adding a New Column to a Table (in Access)
Source: Microsoft Access 2016
Q5-3 What is a database management system (DBMS)?
Trang 20Administering the Database
Q5-3 What is a database management system (DBMS)?
permissions, limits for processing.
database applications, remove unwanted data.
Trang 21Summary of Database Administration Tasks
Figure 5-9 Summary of Database Administration (DBA) Tasks
Q5-3 What is a database management system (DBMS)?
Category Database Administration Task Description
Form steering committee
Consists of representatives of all user groups Forum for community-wide discussions and decisions.
Specify requirements Ensure that all appropriate user input is considered Validate data model Check data model for accuracy and completeness.
Evaluate application design
Verify that all necessary forms, reports, queries, and applications are developed Validate design and usability of application components.
Trang 22Summary of Database Administration Tasks (cont’d)
Q5-3 What is a database management system (DBMS)?
Category Database Administration Task Description
Operation
Manage processing rights and responsibilities Determine processing rights/restrictions on each table and column.Manage security Add and delete users and user groups as necessary; ensure that security system works.Track problems and manage
resolution Develop system to record and manage resolution of problems.
Monitor database performance Provide expertise/solutions for performance improvements
Manage DBMS Evaluate new features and functions
Backup and
Recovery
Monitor backup procedures Verify that database backup procedures are followed
Conduct training Ensure that users and operations personnel know and understand recovery procedures.Manage recovery Manage recovery process
Adaptation
Set up request tracking system Develop system to record and prioritize requests for change
Manage configuration change Manage impact of database structure changes on applications and users.
Trang 23Forms, Queries, Reports, and Applications
Forms View data; insert new, update existing, delete existing data.
Queries Search using values provided by user.
Reports Structured presentation of data using sorting, grouping, filtering, other operations.
Trang 24Users Accessing Databases
Q5-4 How do database applications make databases more useful?
Trang 25Example of a Student Report
Figure 5-11 Example of a Student Report
Q5-4 How do database applications make databases more useful?
Trang 26Query Example
Q5-4 How do database applications make databases more useful?
Trang 27Browser Forms, Reports, Queries, and
Applications
Figure 5-13 Four Application Programs on a Web Server Computer
Q5-4 How do database applications make databases more useful?
Trang 28Account Creation Browser Form
Q5-4 How do database applications make databases more useful?
Trang 29Browser Report
Figure 5-15 Browser Report
Source: Microsoft Corporation
Q5-4 How do database applications make databases more useful?
Trang 30Graphical Query: User Clicks on Video Icon
to Find All Videos from that Location
Q5-4 How do database applications make databases more useful?
Trang 31Multiuser Processing Problem
of 2 pedals
2
3 Andrea puts both in shopping baskets, but delays checking out
3
4.Jeffrey puts both
in shopping basket and checks out before Andrea
4
5 Andrea proceeds
to checkout
Someone will be disappointed.
5
Q5-4 How do database applications make databases more useful?
Trang 32Q5: How Are Data Models Used for
Database Development?
Q5-5 How are data models used for database development?
Trang 33Attributes
• Uniquely identifies one entity instance from other instances – Student_ID_Number
Trang 34Student Data Model Entities
Q5-5 How are data models used for database development?
Trang 35Example of Department, Adviser, and
Student Entities and Relationships (cont’d)
Figure 5-19 Example of Department, Adviser, and Student Entities and Relationships
Q5-5 How are data models used for database development?
Trang 36Sample of Relationships―Version 1
Crow’s Feet
N:M
An Adviser may have many students, and one student may have many advisers
1:N One department may have many advisers, but an adviser may be
in only one department
Q5-5 How are data models used for database development?
Trang 37A department has many advisors, and an advisor may advise for more than one department
“Crow’s Foot”
Q5-5 How are data models used for database development?
Trang 38Crow’s-Foot Diagram Version
Maximum cardinality─maximum number of entities in a
relationship Vertical bar on a line means at least one entity
required
Minimum cardinality—minimum number of entities in a
relationship Small oval means entity is optional; relationship
need not have entity of that type.
Q5-5 How are data models used for database development?
Trang 39Q6: How Is a Data Model Transformed into
Trang 40Data Integrity Problems
Q5-6 How is a data model transformed into a database design?
Incorrect or inconsistent information
Users lose confidence in information.
Trang 41Poorly Designed Employee Table Causes
Data Integrity Problem
Figure 5-23 A Poorly Designed Employee Table
Q5-6 How is a data model transformed into a database design?
Trang 42Two Normalized Tables
Q5-6 How is a data model transformed into a database design?
Trang 43Summary of Normalization
Figure 5-25 Transforming a Data Model into a Database Design
Q5-6 How is a data model transformed into a database design?
Trang 44Representing 1:N Relationships
Q5-6 How is a data model transformed into a database design?
Trang 45Representing an N:M Relationship: Strategy for Foreign Keys
Figure 5-27 Representing an N:M Relationship
Q5-6 How is a data model transformed into a database design?
Trang 46Users’ Role in the Development of
Databases
Q5-6 How is a data model transformed into a database design?
• Final judges.
Entities must contain all the data users need to do
their jobs.
Must accurately reflect their view of the business.
• Take it seriously.
Trang 47A Database System At Falcon Security
Q5-7 How can Falcon Security benefit from a database system?
October 2014, shot from 3,000 feet or less?”
each video in a relational database to query with SQL.
Trang 48Falcon Security Chooses Option 1
design simple at first.
Q5-7 How can Falcon Security benefit from a database system?
Trang 49Database Processing in 2027?
Q5-8 2027?
speeds in relational databases.
databases exist in commerce.
Trang 50ACID Transactions
Q5-8 2027?
ACID.
Trang 51New Categories of DBMS
Q5-8 2027?
relatively simple data structures,
ACID transaction support
Trang 52New Categories of DBMS (cont’d)
Q5-8 2027?
DBMS, but provide ACID support.
Trang 53Database Processing in 2027? (cont’d)
Q5-8 2027?
around these new DBMS products.
comes to job interviews.
Trang 54Big Data…Losses
Security Guide
powerful Big Data tools.
collect.
functionality and convenience.
databases are exposed.
Trang 55Big Data…Losses (cont’d)
confirmed breaches have not occurred.
respondents’ databases.
reporting capabilities.
Trang 56Database Engineer
Career Guide
Jacob Case at Overstock.com
Q What attracted you to this field?
A “I still remember my first database class I just had a feeling that it was important because I knew businesses derive information and
critical insights from data, and these insights are used to make critical business decisions I knew that if I became proficient with managing and analyzing data I would always have a job.”
Q What advice would you give to someone who is
considering working in your field?
A “Don't be intimidated by the idea of working in the field of
information systems If you are committed to learning, are teachable,
Trang 57Active Review
Q5-1 What is the purpose of a database?
Q5-2 What is a database?
Q5-3 What is a database management system (DBMS)?
Q5-4 How do database applications make databases more
Trang 58Dean's Piano Database
Case Study
technician repairing and
restoring pianos for
many years.
children’s parties.
Trang 59Pianos in Storage
Figure 5-31 Pianos in Storage
Source: David Kroenke
Case Study
Figure 5-32 Pianos in TentSource: David Kroenke
Trang 60Columns in the Piano Table
Case Study
Trang 61Query Design and Result
Figure 5-34 Example Query
Source: Microsoft Corporation
Case Study
Trang 62Results from Query
Case Study
Trang 63Piano Sound Quality by Building
Figure 5-36 Piano Sound Quality by Building
Source: Microsoft Corporation
Case Study