M1 LD-Relational Database 2020
M1 LD-Relational Database 2020
INTRO TO
DATABASE
Ahmad Hamim Thohari
• Every single web, systems, social media and
application you use now is using database!
• Database is everywhere, Ubiquitous
• Can you imagine how big facebook data center?
Or google? Instagram?
Companies are investing in Data!
Google Data Centers Location
https://www.google.com/about/datacenters/locations/
Data Centers
https://www.google.com/about/datacenters/gallery/
DATA?
Base
Database
Data
Need Relational DBMS
Model (e.g
Analysis Schema +Query
ER)
CASE STUDY
DATA OF POLYTECHNIC
STUDENT
• Thousand of data
• Student data
• Course data
SOLUTION 1: EXCEL FILE
• Advantages:
– Simple
– Easy to share
– Easy to insert, edit, delete data
– ‘Find’ feature to locate data
– Easy to backup (print, copy, etc)
• Weakness?
WEAKNESS
• File size – processing time incereases
• Data redundancy
• Relation of data → “which students takes database course?”
• Adding information (column)
• Analyzing data → “how much students lives in batam center”?
• Data Version → Updating data in one user, not automatically update
other user data
• Data Security → marks data can edited only by lecturers
REL ATIONAL
DATABASE
RELATIONAL DATABASE
(RDB) CONCEPT
• collection of multiple data which is organized by tables, records, and
columns.
• establishing a well-defined relationship between database tables
• tables communicate and share information, which facilitate data
searching, organizing and reporting
• use structured query language (SQL)
• RDB is derived from the mathematical function concept about
mapping data set
RELATIONAL DATABASE
EXAMPLE
DBMS