chapter 1a db environment(1)
TRANSCRIPT
-
8/11/2019 Chapter 1A DB Environment(1)
1/15
Chapter 1A
The Database Environment
-
8/11/2019 Chapter 1A DB Environment(1)
2/15
Objectives
Learn what a database is, the different types and why they are
valuable tools for decision making
How databases evolved from basic file systems
Flaws in the file system data management
Main components of a database system
Main functions of a database management system (DBMS)
Advantages/Disadvantages of the database approach
Importance of database design
2
-
8/11/2019 Chapter 1A DB Environment(1)
3/15
Why Study Databases? Everybody is doing it.
Organizations have large masses of data that are almost
impossible to manage without database systems. Excel spreadsheets are not capable of managing data.
Many jobs demand an understanding of how databases
work and interact with other applications.
Most employees dont understand how the data isorganized and how to obtain the data necessary for even
the most simple reports.
3Database Systems, 10th Edition
-
8/11/2019 Chapter 1A DB Environment(1)
4/15
-
8/11/2019 Chapter 1A DB Environment(1)
5/15
Pre-Database Systems: File Mgmt
Payroll System
ClassScheduling
System
Parking System
Note: each system contains a definition of data5
-
8/11/2019 Chapter 1A DB Environment(1)
6/15
Database Systemhardware, software, people, procedures, database DBMSa set of programs that manages the database
Databasedata, metadata
6Database Systems, 10th Edition
A Database System
Employees
Classes
Parking
Students
-
8/11/2019 Chapter 1A DB Environment(1)
7/15
The Database System: Components Five major parts of a database system:
Hardware
Computers, network, cables
Software DBMS, user programs, query languages, support system (OS)
People
Users, programmers, administrators, operators
Procedures
Use, location, changes, design, contingency plans
Database
Data and meta-data
7
-
8/11/2019 Chapter 1A DB Environment(1)
8/15
A Database - Defined A database is a self-describing collection of integrated
files; the database contains a description of itself.
There are many acceptable definitionsI think this one isthe best.
Note that the definition does not include the following:
Elimination of redundancy
Multiple users
Efficiency, low-cost, fast access, etc.
Mention of data structures or models
8
-
8/11/2019 Chapter 1A DB Environment(1)
9/15
Database Management System A set of programs that manages the database
DBMS is the intermediary between the user, userprograms, and the database
Database structure stored as file collection
Can only access files through the DBMS
DBMS enables data to be shared DBMS integrates many users views of the data
9Database Systems, 10th Edition
-
8/11/2019 Chapter 1A DB Environment(1)
10/15
Database System EnvironmentUsers & Programmers
Application Programs/Queries/SQL
DBMS
Data DefinitionMeta-Data
Stored Data
10
Software to ProcessQueries/Programs
Software to AccessStored Data
-
8/11/2019 Chapter 1A DB Environment(1)
11/15
Database Approach: Advantages
Minimal data redundancy
Improved data sharing
Uniform security, privacy & integrity controls
Better data integration Data accessibility and responsiveness
Enforcement of standards; data consistency
Improved decision making
Ease of application development
Reduced program maintenance
Data independence
11Database Systems, 10th Edition
-
8/11/2019 Chapter 1A DB Environment(1)
12/15
Database Approach: Disadvantages
12
DBMS software is expensive; may require more hardware
Organizational conflict
Increased vulnerability due to
centralization or decentralization
DB systems are very complex
New, specialized personnel
-
8/11/2019 Chapter 1A DB Environment(1)
13/15
Importance of Database Design
This very simple design causes all sorts of problems. Can
you spot them?
13
The data must be separated to reduce the redundancy.
-
8/11/2019 Chapter 1A DB Environment(1)
14/15
A Good DesignWeve separated the
data but there are still
problems
14
Where does the
grade belong?
-
8/11/2019 Chapter 1A DB Environment(1)
15/15
A Better DesignStudents
Courses
Instructors
Grades
15
Display GPA and Total Hrs for Jane Smith.Display Course#, Course Description and
Grade for Arthur Lee.
Display the names of all students
who have taken CIS-360.Display the Student ID, Student Name, Grade, Instructor
Name for all students that completed ACC-231.