Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 24

Relational Model

Database
 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?
Data Centers
Database?
 Collection of large dataset that integrated
 Modelling real world objects
 Entity  people, things, identity
 Relationship  Tony live in Jl. Ahmad Yani
 Structured – user can retrieve information
Data

t or information, which is used to calculate, analyze, or plan something


ormation, which is produced or stored by a computer

Base

mething (such as a group of people or things) that provide support for a place, business, etc.

Database

ge collection of data which is organized for rapid searching and retrieval by a computer
Database (DB) Operation
Create
Create DB Drop DB table

Update
Drop table Insert data
table

Update Delete Query


data data data
Database Objectives
Speed ●
Saving, manipulating, and retrieving data easily

Space Efficiency ●
Reducing redundancy, use relation

Accuracy ●
Using data constraint, unique data

Availability ●
Available to be accessed

Completeness ●
If DB is not complete, we can add data or data structure

Security ●
User management

Sharability ●
Many users can share DB
Database design

Need Data Model Relational DBMS


Analysis (e.g ER) Schema +Query
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
Relational 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
WHAT IS Database system?
Database System
 System : a group of related parts that work together
 Database system contains hardware, operating system,
database, DBMS, user, other softwares
 Example :
DBMS
 Software that uses a standard method of
cataloging, retrieving, and running queries on data.
 Managing incoming data, organizes it, and provides ways
for the data to be modified or extracted by users or other
programs
 Example : MySQL, PostgreSQL, Microsoft Access,
SQL Server, Oracle, etc
So, why we learn about all of this?
 The field of database have many contribution to
the field of computer science
 You can appy the concept in many problem in
different field
 DBMS is technology software which is very
successful (Oracle, DB2, Ms SQL, etc)
 Wide development field – Data Mining, Big
Data, Business Intelligence, etc
 A prestigious career  Data Scientist
Tugas

 Buat kelompok Berisi 5 orang


 Diskusikan judul proyek bersama dengan
tema produk: "Smart Campus untuk
mendukung new normal“
 Kerjakan TASK 1 di Elearning yang telah
disediakan
References:

1. Silberschatz, Abraham, Henry F. Korth, and


Shashank Sudarshan. Database system
concepts. Vol. 4. New York: McGraw-Hill,
1997.
2. Slide Relational Database, hilda widyastuti
3. Slide basis data, metta santiputri

You might also like