Lecture 01
Lecture 01
[CSS 114]
Mzumbe University
2019/2020
Almasi S. Maguya (PhD) DATABASES AND DATABASE SYSTEMS
Contents
In this lecture:
Basic concepts and definitions
Data Dictionary:
AKA repository (old usage)
Metadata
Data about data. In DBMS means all of the characteristics
describing the attributes of an entity, e.g., name, data type,
and size
Metadata example:
Database operations:
Program-data dependence
Duplication of data
Controlled redundancy
Conversion/migration costs
Organization conflicts
Data Independence
Physical representation and location of data and the use of that
data are separated
Number of users
Single-user DBMS
Multi-user DBMS
Centralized DBMS
Parallel DBMS
Distributed DBMS
Client/server DBMS
Single-user DBMS
The database resides on one computer and can be accessed by one
user at a time
The user maintains the database: designs, writes, and maintains
application programs
Ideal for personal databases or very small organizations (e.g., SMEs)
Example: MS Access, FoxPro
(What about multi-user DBMS?)
Centralized DBMS
DBMS installed on a single machine confined in one location
Data can be accessed from multiple sites over a computer network
Database is maintained at a single site
Disadvantages
Single point of failure: if the centralized DB fails everyone is affected
Communication costs
What about advantages?
Centralized database
Parallel DBMS
Multiple DBMS instances share the same physical database
Employs a variety of hardware architectures to allow multiple
computers/clients to share access to data: parallel CPUs
Improve processing and Input/Output (I/O) speeds
Disadvantages:
Complications: e.g., the need for synchronization, setup, etc.
Too much time spent in synchronization can diminish the benefits
of parallel processing
Cost: hardware and software costs
What about advantages?
Parallel database
Distributed database
Database models