Instructor: Saleem Raza Databases: Source: DATABASE CONCEPTS Kroenke Pearson Education, Inc. Publishing As Prentice Hall
Instructor: Saleem Raza Databases: Source: DATABASE CONCEPTS Kroenke Pearson Education, Inc. Publishing As Prentice Hall
1-2
Components of a Database
System
1-3
Users
• A user of a database system will
– Use a database application to track things
– Use forms to enter, read, delete and query
data
– Produce reports
1-4
The Database
• A database is a self-describing collection of
related records
• Self-describing
– The database itself contains the definition of
its structure
– Metadata is data describing the structure of
the database data
• Tables within a relational database are related to
each other
1-5
Database Contents
1-6
Example Database Metadata:
A Relationship Diagram
1-7
Database Management
System (DBMS)
• A database management system
(DBMS) serves as an intermediary
between database applications and the
database
• The DBMS manages and controls
database activities
• The DBMS creates, processes and
administers the databases it controls
1-8
Functions of a DBMS
• Create databases
• Create tables
• Create supporting structures
• Read database data
• Modify database data (insert, update, delete)
• Maintain database structures
• Enforce rules
• Control concurrency
• Provide security
• Perform backup and recovery
1-9
Database Applications
• A database application is a set of one or
more computer programs that serves as
an intermediary between the user and the
DBMS
1-10
Functions of Database
Applications
• Create and process forms
• Process user queries
• Create and process reports
• Execute application logic
• Control database applications
1-11
Database Applications:
Example Data Entry Form
1-12
Database Applications:
Example Query
1-13
Database Applications:
Example Report
1-14
Personal Database Systems
• Personal database systems typically:
– Have one application
– Have only a few tables
– Are simple in design
– Involve only one computer
– Support one user at a time
1-15
Personal Database Systems
1-16
Enterprise-Class
Database Systems
• Enterprise-Class database systems
typically:
– Support several users simultaneously
– Include more than one application
– Involve multiple computers
– Are complex in design
– Have many tables
– Have many databases
1-17
Organizational Database Systems
1-18
Commercial DBMS Products
1-19