Course
Introduction
CMPS 342
Database Systems
Spring 2021-22
1
What we’ll do today?
What are database Why database What is this course How we’ll proceed
systems? systems? about? with the course?
2
How did you
register for the
course?
3
You accessed a database!
• When you registered for the course, you accessed
the university database through the university
website.
• A database is an organized collection of structured
information, or data, typically stored electronically
in a computer system.
• What kind of data is stored in a university
database?
4
Database Management System (DBMS)
• A database is usually controlled by a database management system
(DBMS).
What DBMS is used for BAU E-Systems?
• A collection of multiple DBMSs
• Oracle DB
• MySQL
• Microsoft SQL Server
5
Database System
• Database
• Actual data Database System
• DataBase Management System
• System used to control and manipulate the
database
• Database Application
• Software program/application/website
• Connected to a DBMS
• Accesses the database to show and update the
data
• The database, the DBMS, along with the
applications that are associated with them,
are referred to as a database systems
6
What we’ll do today?
What are database Why database What is this course How we’ll proceed
systems? systems? about? with the course?
7
Everyday activities
• Depositing or withdrawing funds in a bank
• Making a hotel or airline reservations
• Accessing computerized library catalogues
• Purchasing items at a supermarket
8
9
Databases are everywhere!
• You’ve manipulated a simple database in the
web programming course
• You access databases everyday
• Even software companies are accessing your
data!
10
Facebook Data
• Facebook handles up to
• 500 petabyte of data perday
• 10 billion messages/day
• 600 million photos/day
• Query response times: 4 ms
reads, 5 ms writes
11
Facebook DBMS
• Facebook uses MySQL for the majority of the data you
would consider as “Facebook data” like posts
comments etc..
• It also uses other DBMSs like
• Hbase
• Cassandra
12
Facebook
Datacenters
• Each data center houses
tens of thousands of
computer servers
• massive storage
infrastructure to house
its enormous piles of
data
13
Database applications?
14
Database Applications
• Enterprise Information
• Sales: customers, products, purchases
• Accounting: payments, receipts, assets
• Human Resources: Information about employees, salaries, payroll taxes.
• Manufacturing: management of production, inventory, orders, supply
chain.
• Banking and finance
• customer information, accounts, loans, and
banking transactions.
• Credit card transactions
15
Database Applications
• Airlines: reservations, schedules
• Telecommunication: records of calls,
texts, and data usage, generating monthly
bills, maintaining balances on prepaid
calling cards
• Web-based services
• Online retailers: order tracking, customized
recommendations
• Online advertisements
16
Database Applications
• Document databases
• Navigation systems
• maintaining the locations of various places of interest, exact routes of
roads, train systems, buses, etc.
17
Traditional Databases
• Information stored and accessed is
textural or numeric
➔ Fundamentals of database
technology
18
Multimedia Databases
• Big Data Storage Systems (NoSQL)
• Data for social media applications
• Data require in the Web search engines
• Cloud Storage
• Geographic Information Systems (GIS)
• Storing and analyzing maps
• Weather data
• Satellite images
• Online Analytical Processing systems (OLAP)
• Extracting and analyzing useful business information
• Decision making support
19
What we’ll do today?
What are database Why database What is this course How we’ll proceed
systems? systems? about? with the course?
20
1 2 3
Learn important Apply database Become familiar
basic topics in analysis, design with some
techniques and commercial
Database relational database
database theories
Systems and management
data models system and related
software
21
1 2 3
Learn important Apply database Become familiar
basic topics in analysis, design with some
techniques and commercial
Database relational database
database theories
Systems and management
data models system and related
software
22
1 2 3
Learn important Apply database Become familiar
basic topics in analysis, design with some
techniques and commercial
Database relational database
database theories
Systems and management
data models system and related
software
23
Suggested Text
• Fundamentals of Database Systems, R.
Elmasri and S.B. Navathe, 7th Edition,
2016, Pearson Education Inc.
• Additional material will be provided
during the class.
24
What we’ll do today?
What are database Why database What is this course How we’ll proceed
systems? systems? about? with the course?
25
ON Campus or Online
You will be updated Next week is on campus
26
Apps Used
• Microsoft Teams for the online classes
• Moodle to access the class material, submit lab
exercises and assignments
• Slack for sharing interesting ideas and for after
class questions, discussions and interaction (class
material will also be shared on slack)
27
Course Lab Instructors
Bassam El Masri Salma Ghali Madona Zankar
Beirut Debbieh
28
Course Info
Prerequisites Grade Division
• Required: CMPS 242 • Attendance and Participation 10%
• reasonable understanding of data • Tasks (project, lab, homework) 30%
structures • Midterm Exam 20%
• Final Exam 40%
29
Class Guidelines
ATTEND ON TIME KEEP ANY SHARE YOUR IDEAS ASK QUESTIONS
DISTRACTIONS AND DISCUSS
AWAY
30
Lab Guidelines
WILL BE GIVEN SOLVING LAB DON’T COPY DISCUSS SUBMIT ON TIME
WEEKLY ON ASSIGNMENTS SOLUTIONS WITH
CAMPUS HELPS YOU ACE ME OR WITH YOUR
EXAMS CLASSMATES
31
Project Guidelines
GROUPS OF CONSTITUTES 15% OF SUBMIT PROPOSAL FINAL PRESENTATION
MAXIMUM 2 THE COURSE + REPORT
32
Assessment Guidelines
MIDTERM EXAM NO MAKE-UP EXAMS ARE PREPARE WELL
ALLOWED
FINAL EXAM
33
How to get in contact?
https://join.slack.com/t/baucmps342/shared_in
Chat on slack workspace vite/zt-12n5ojh1u-1_kxl88d7obp4djY3zA8uw
Debbieh: Monday 10:00-11:00 Lab Bldg B115
Visit me during my Office Hours
Beirut: Tuesday 11:00-12:00 H1116
Keep track of Moodle
34
Please check the
course syllabus
35