DB Week 1
DB Week 1
SYSTEMS
WEEK 1 LECTURE 1 & 2
Course Objectives
Introduction to very basics
Guides through different design stages
Familiarize with tools
Emphasis on design stages of database
Lecture Objectives
Other
Recommended
textbooks:textbooks:
Database
There are lots
Systems:
of database texts
A practical approach
to
Most
design, implementation
of them would be fine also
and
management by Connolly and Begg
For example:
Fundamentals of Database Systems
(7th Edition)
‘Database by Ramez
Systems’ Elmasri, Shamkant
by CJ Date
B. Navathe
Data vs. Information
Train timetables
Library catalogues
Airline
Medical bookings
records
Credit card details
Bank accounts
Student records
Stock control
Customer histories
Personnel
Stock marketsystems
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
A database
DB2 (IBM) management system
(DBMS)
MS SQLisServer
the software which controls
that
MSinformation
Access
Ingres
PostgreSQL
MySQL
What the DBMS does
DBMS provides
Provides users with
Persistence
Data definition language (DDL)
Concurrency
Data manipulation language (DML)
Integrity
Data 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