Professional Documents
Culture Documents
00 Introduction
00 Introduction
About CSIS0278
What is a database? Why do we need Database Systems?
How is application data represented in a DBMS?
How is data in a DMBS retrieved and manipulated?
What are the main components of a DBMS?
Who needs/operates database systems in real life?
Course textbook:
¾ A. Silberschatz, H. F. Korth, and S. Sudarshan, Database System
Concepts, Fifth Edition, McGraw-Hill, 2005
¾ can be found at the University Bookstore
¾ 6th edition to be published soon
Teaching Schedule
Lectures:
¾ Monday, 2:00pm - 3:55pm, LE8 (Library Extension),
¾ Thursday, 3:00pm - 3:55pm, CB-A (Chow Yei Ching Bldg)
Tutorials:
¾ On some Thursdays there will be tutorials instead of lectures
¾ Additional tutorials will be arranged as necessary
Introduction
¾ This is an introductory course.
to database management
¾ This course is about data management. You will learn the
fundamental concepts of database design
Systems
¾ You will get basic knowledge about the functionality of a database
system.
1 Introduction
2 ER Model and Conceptual Design
3 Relational Model
4 Relational Algebra
5 SQL
6 Relational Database Design
7 Database Application Development
8 Storage
9 Indexing
10 Transaction Management
Problem: How can we organize and store these data, such that:
¾ they are securely stored
they can be saved after a system crash!
I don’t want everyone to access every part of the data!
¾ they can be updated efficiently
if I want to insert or delete some information, I can do it fast!
¾ they can be accessed efficiently
I can retrieve fast only the information I really want from the database!
¾ they can be accessed conveniently
I don’t need to write a special program every time I want to access
something in the database!
¾ they can be accessed/updated concurrently by many users
I don’t have to wait someone else to finish accessing the data before me!
¾ they are not redundant
I want the data to occupy as small space as possible in the computer!
¾ they are consistent
I don’t want anyone to insert inconsistent data in the database (e.g., age = 0)
instance
of relation
customer
Q:
relationship
between
these
tables?
Users or
applications
that access
the database
Conceptual
design of the DB
Physical storage
of the DB
+ indexes
• Data independence: Application programs are insulated from changes in the way the
data are structured and stored
DML: Data
Manipulation
Language
A layered
DDL: Data
architecture Definition
Language