DB Week 1
DB Week 1
SYSTEMS
WEEK 1 LECTURE 1 & 2
Course Objectives
Guides through
Introduction to
different design
very basics
stages
Emphasis on
Familiarize with
design stages
tools
of database
Lecture Objectives
Some common
Characteristics Problems with
uses of
of file-based file-based
database
systems. approach.
systems.
Meaning of the
term Database Typical
Meaning of the
Management functions of a
term database.
System DBMS.
(DBMS).
Major Personnel
components of involved in the
the DBMS DBMS
environment. environment.
Textbook
Other
Recommended
textbooks:textbooks:
There are lots
Database of database
Systems: texts
A practical approach
to
Most design, implementation and
of them would be fine also
management by Connolly and Begg
For
example:
Fundamentals of Database Systems
(7th
‘Database Edition)
Systems’ by CJ Date by Ramez
Elmasri, Shamkant B. Navathe
Data are simply facts or figures -
bits of information, but
not information itself.
Each file contained and processed information for one specific function, such as
accounting or inventory.
Files are designed by using programs written in programming languages such as C, C++.
As systems became more complex, file processing systems offered little flexibility,
presented many limitations, and were difficult to maintain.
1
2
File Processing System
Grade Class
Duplication of Data
Vulnerable to Inconsistency
“A collection of data
arranged for ease and speed
of search and retrieval”
• Dictionary.com
1
Databases - 8
Introduction
Database Def-1
A database is a shared collection of logically related
data that is stored to meet the requirements of
different users of an organization
Database Def-2
A database is a self-describing collection of
integrated records
Database Def-3
A database models a particular real world system in
the computer in the form of data
Database approach
Database Management System (DBMS): a general-purpose
software system that facilitates the processes of defining,
constructing, manipulating, and sharing databases among various
users and applications.
Database: a collection of related data managed by a DBMS
Data: known facts that can be recorded and that have implicit
meaning
Database system = the database + DBMS software
DBMS provides facilities for querying, data security, and integrity
and concurrent control
Database application - set of programs that use DBMS to perform
a particular business function
Product
Planning Control Sales
Development
Corporate
Database
Accounting Manufacturing
Accounts Accounts
Scheduling Production
Receivable Payable
Databases
Train timetables
Library catalogues
Airline bookings
Medical records
Credit card details
Bank accounts
Student records
Stock control
Customer histories
Personnel systems
Stock market prices
Product catalogues
Discussion boards
Telephone
and so on… directories
Database Systems
A database
Database systems
systemallow
consists
users
of to
Data (the database)
Store
Software
Update
Hardware
Retrieve
Users
Organise
Protect
We focus mainly on the software
their data.
Database Users
Examples:
A database is a collection of
information
Oracle
Adatabase
DB2 (IBM) management system
(DBMS)
MS SQLisServer
the software which controls
that
MSinformation
Access
Ingres
PostgreSQL
MySQL
What the DBMS does
Provides
DBMS provides
users with
Data
Persistence
definition language (DDL)
Data
Concurrency
manipulation language (DML)
Data
Integrity
control language (DCL)
Security
Often these are all the same language
Data independence
Data Dictionary
Describes the database itself
Data Dictionary -
Metadata
The relational
Information is model
stored as
covers
tuples
3 areas:
or
records in relations or tables
Data structure
There
Datais a sound
integrity mathematical theory
of
relations
Data manipulation
Most
More modern
details inDBMS are based
the next on the
lecture…
relational model
Next Lecture