Professional Documents
Culture Documents
Materi M1
Materi M1
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
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
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
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