CS-220 Database Systems (Fall 21) : Muneer Ahmad
CS-220 Database Systems (Fall 21) : Muneer Ahmad
1
CS-220 Database
Systems (Fall
21)
BESE-11B
Lecture
▸ Class Introduction
Outline ▸ Class Policies
▸ What is a Database?
▸ Recent Trends in Database
Muneer Ahmad
Associate Professor in Computer Science
PhD – (Universiti Teknologi PETRONAS UTP, Malaysia)
About the Research interests
Data Science, Machine Learning, Signal processing,
Bioinformatics, Applied research
Instructor
▸ Consultation Timing
▹ 12:00 noon -1:00 pm Monday
▸ Email
▹ [email protected]
▸ Text Book:
▹ Silberschatz, Korth and Sudarshan (2010):
Database System Concepts 6/E, McGraw-Hill
Course
Books ▸ Reference Book:
▹ Hoffer, Prescott, and McFadden (2008): Modern
Database Management 9/E, Prentice Hall.
▹ Ramakrishnan and Gehrke (2003): Database
Management Systems 3/E, McGraw-Hill
Security problems
Hard to provide user access to some, but not all, data
Database systems offer solutions to all the above problems
▸ Database is an organized collection of related data
that is stored in efficient and compact manner.
▸ Database Applications:
Database Banking: transactions
Airlines: reservations, schedules
Universities: registration, grades
Human resources: employee records, salaries, tax
deductions
Etc
Example
Unpack
YouTube
Youtube DB
DB
Modify
Lorem
Learn
Lore
m
ipsum ipsum
Unpack Cars DB
Cars congue
DB
Modify
Lore Lorem
Learn
m ipsum
Unpack
ATM DB:
Transac
tion Read Balance Read Balance
Give money vs Update Balance
Update Balance Give money
Platform to store, manage data Supporting
Scale
Speed
Read
Lore
m
ipsum Stability
Evolution
Goals of
Reliability
Databases
Cost
Operations efficiency
Any DB
Learn Modify
Lorem Lorem
ipsum
Connect one/many DBs for custom system
Goals of
Data
systems
Example
Mobile Game
Report &
Share
Business/Product
Game App
Real-Time Analysis
DBMS
User Events
DB
DB v0 Q1: 1000 users/sec? Q7: How to model/evolve game data? Q4: Which user cohorts?
Q2: Offline? Q8: How to scale to millions of users? Q5: Next features to build
Q3: Support v1, v1’ Q9: When machines die, restore game Experiments to run?
versions? state gracefully? Q6: Predict ads demand?
Game App
Cloud Datalab Business/Product
Real-Time DB
4 Analysis
User Events
Data Processing Analytics
1
E-T-L, Dataflow Engine
BigQuery
2 3
Data system
“v1” on
Cloud
Example
Game App Mobile
Game
Data
Exploration
Cloud Datalab
Report &
Share
DB Business/Product
4 Analysis
Data Sync
Data Processing Analytics
1 MySQL, Dataflow Engine
BigQuery
Data system
2 3
0 Real-Time
User Events
“v2” Cloud +
Local Local DB