CH 04
CH 04
CH 04
Chapter 44
Database
Management
Systems
What is a Database
Management System (DBMS)?
Database
• An organized collection of related data
Database Management System
• Comprises programs to store, retrieve, and
otherwise manage a computerized
database and to provide interfaces to
application programs and to non-
programming users
Chapter 4 Slide 2
Functions of A Database Management
System
Storing and Retrieving Data
• The database sees the physical view of
the data
How the data are compressed and formatted,
which data are stored near each other, and
which indexes are created to simplify and
speed finding data on the storage medium
Chapter 4 Slide 3
Functions
FunctionsofofAADatabase
Database Management
Management System
System
Storing and Retrieving Data
• The database presents a logical view to
the user and programmer
Organizes and presents data elements in ways
that managers and other users find helpful
Chapter 4 Slide 4
Functions
FunctionsofofAADatabase
Database Management
Management System
System
Managing Metadata
• Metadata are data about data in the
database
• Example
The fact that a company's invoice numbers are
six digits long, with the first digit being either a
1 or 3
Chapter 4 Slide 5
Functions
FunctionsofofAADatabase
Database Management
Management System
System
Limiting and Controlling Redundant
Data in Multiple Systems
• Companies often collect and store the
same data in two or more different
information systems
Chapter 4 Slide 6
Functions
FunctionsofofAADatabase
Database Management
Management System
System
Chapter 4 Slide 7
Functions
FunctionsofofAADatabase
Database Management
Management System
System
Providing Transaction Atomicity
• The concept that a transaction cannot be
split into smaller parts
• If systems fails in midst of transaction,
system is restored as if the entire
transaction completed or no part of it
completed
Chapter 4 Slide 8
Functions
FunctionsofofAADatabase
Database Management
Management System
System
Providing Backup and Recovery
Services
• Databases cannot be backed up like files
because they are too large and in constant
use
• Backup techniques include
Operating in parallel on two storage devices
Use of temporary database during backup
Chapter 4 Slide 9
Functions of A Database Management
System
Providing Authorization and Security
Services
• Most DBMSs can limit who has access to
specific data
• DBMS can create limited views of data so
that users can see only what they are
authorized to see
Chapter 4 Slide 10
Functions of A Database Management
System
Enforcing Business Rules
• A DBMS enforces rules that ensure related
data are logically consistent
Chapter 4 Slide 11
Database Applications
Chapter 4 Slide 12
Database Applications
Data Warehouse
• An enterprise-wide database designed to
support business intelligence and
management decision making rather than
operational needs
Chapter 4 Slide 13
Database Applications
Data Mart
• Provides summary and historical data for
business intelligence and decision making
for a single department or division rather
than an entire organization
Chapter 4 Slide 14
Database Applications
Chapter 4 Slide 15
Developing Databases through Data
Design
Data Design
• The process of identifying and formalizing
the relationships among the elements of
data that will form an organization's
database
Chapter 4 Slide 16
Developing Databases through Data
Design
Chapter 4 Slide 17
Developing Databases through Data
Design
Entity-Relationship (E/R) Model
• The E/R model offers a pictorial way of
showing the interrelationships among
various types of data
Chapter 4 Slide 18
The Entity-
Relationship Model
Distribution Architecture
• Refers to how the organization distributes
data and database processing physically
among the computers in a network
Chapter 4 Slide 20
Technological Underpinnings
Chapter 4 Slide 21
Technological Underpinnings
Chapter 4 Slide 22
Technological Underpinnings
Chapter 4 Slide 23
Technological Underpinnings
Database Models
• Relational model
A table represents a file with rows called tuples
and columns called attributes
Chapter 4 Slide 24
Technological Underpinnings
Chapter 4 Slide 25
Technological Underpinnings
Database Models
• Object model
Derives from object-oriented programming
Object-oriented DBMSs store objects and
object-class metadata
Chapter 4 Slide 26
Technological Underpinnings
Database Models
• XML model
A language used to mark and identify
components of Web-based transaction
documents
Chapter 4 Slide 27
Technological Underpinnings
Database Models
• Network model
Builds a tighter linkage between elements of
data
• Hierarchical model
A precursor to the network model, as a network
model with additional restrictions
Views data as organized in a logical hierarchy
Chapter 4 Slide 28
Managing the Data Resource
Data Administrator
• Concerned with integrity of data, data
redundancy, access controls, and rules
about data relationships
Database Administrator (DBA)
• Oversees functioning of particular DBMS
• More technical than data administrator
Chapter 4 Slide 29
End
End of
of
Chapter
Chapter 44
Database
Management
Systems