Sei sulla pagina 1di 32
CSH2C3/ PEMODELAN BASIS DATA PENGANTAR BASIS DATA TEAM DOSEN PBD GANJIL 2016/2017
CSH2C3/ PEMODELAN BASIS DATA
PENGANTAR BASIS DATA
TEAM DOSEN PBD GANJIL 2016/2017
Outline Pemanfaaatan Basis Data Peluang karir & sertifikasi Data Basis Data Jenis Basis Data Arsitektur
Outline
Pemanfaaatan Basis Data
Peluang karir & sertifikasi
Data
Basis Data
Jenis Basis Data
Arsitektur Basis Data
Sejarah Basis Data
Data abstraction
Pemanfaatan Basis Data
Pemanfaatan Basis Data
Sertifikasi Oracle Certified Associate (OCA) Oracle Certified Professional (OCP) DBMS Oracle Oracle Certfied Master
Sertifikasi
Oracle Certified Associate (OCA)
Oracle Certified Professional (OCP)
DBMS Oracle Oracle Certfied Master (OCM)
DBMS Microsoft SQL Server  Microsoft Certified
Database Administrator (MCDBA)
Peluang karir
Peluang karir
Definisi  Field  Basic element of data (name, date, etc.)  Record  Collection
Definisi
 Field
 Basic element of data (name, date, etc.)
 Record
 Collection of related fields that we treat as a unit (employee record)
 May be of a fixed or variable size
 File
 Collection of similar records
 Treated as an entity by applications
 Usually referenced by a name
 Access controls usually at file level
 Data
 Known facts that can be recorded and have an implicit meaning.
8/26/2016
Is this file system ? ? ?
Is this file system ? ? ?
Semi otomatis 8
Semi otomatis
8
Rada canggih dikit 9
Rada canggih dikit
9
Masih ingat yang ini ?
Masih ingat yang ini ?
File System Architecture  Device Drivers Communicate directly with device  Basic File System Buffering,
File System Architecture
 Device Drivers
Communicate directly with device
 Basic File System
Buffering, placing data on
device
 Basic I/O Supervisor
I/O initiation and termination
 Logical I/O – Deals with
records
 Access method (pile,
sequential, hashed, index)
Standard interface with the
user
8/26/2016
Elements of a File System Physical File Directory structure management Access Records blocks in main
Elements of a File System
Physical
File
Directory structure
management
Access
Records
blocks in main
memory
method
Blocking
buffers
Physic
blocks i
secondar
storage (dis
Disk
scheduling
User &
program
commands
I/O
File
operations
file name
File
manipulatio
n functions
File
allocation
User
access
Free stora
manageme
File management
concerns
Operating system concerns
8/26/2016
DATA VS INFORMASI 8/26/2016
DATA VS INFORMASI
8/26/2016
Database ?
Database ?
Definisi Mini-world  Some part of the real world about which data is stored in
Definisi
Mini-world
 Some part of the real world about which data is stored in a
database. For example, student grades and transcripts at a
university.
Database
 Collection of related data files
 Relationships are explicit
 Used by a number of applications
8/26/2016
Essential database characteristics: Represents an aspect of the real world (miniworld), Well structured (even has
Essential database characteristics:
Represents an aspect of the real world (miniworld),
Well structured (even has a strict regular structure),
Reflects (or should reflect) current state
Has users and applications,
Stored in a permanent (persistent) computer
memory, and
Accessed and manipulated using a DBMS
All these characteristics have to be met
8/26/2016
Ilustrasi Database Real World Facts about world and behaviour of worl represented in contents and
Ilustrasi Database
Real
World
Facts about world and behaviour of worl
represented in
contents and operations of a database
facts about the world in a database
more facts
some more rather long facts about the world in the databse
facts about the world in a database
more facts
some more rather long facts about the world in the databse
facts about the world in a database
more facts
some more rather long facts about the world in the databse
facts about the world in a database
more facts
some more rather long facts about the world in the databse
facts about the world in a database
more facts
some more rather long facts about the world in the databse
facts about the world in a database
more facts
some more rather long facts about the world in the databse
facts about the world in a database
more facts
Database
facts about the world in a database
more facts
Users
facts about the world in a database
more facts
facts about the world in a database
more facts
facts about the world in a database
facts about the world in a database
facts about the world in a database
facts about the world in a database
facts about the world in a database
facts about the world in a database
facts about the world in a database
facts about the world in a database
facts about the world in a database
facts about the world in a database
8/26/2016
DBMS  Database Management System (DBMS) A software package/ system to facilitate the creation and
DBMS
 Database Management System (DBMS)
A software package/ system to facilitate the creation and
maintenance of a computerized database.
 Database System
The DBMS software together with the data itself. Sometimes, the
applications are also included.
Database Management System (DBMS) provides….
… efficient, reliable, convenient, and safe
multi-user storage of and access to massive amounts of
persistent data.
8/26/2016
A simplified database architecture Users/ DBA Programmers Database Database System Description Application
A simplified database architecture
Users/
DBA
Programmers
Database
Database
System
Description
Application Programs/
Interactive Queries
DBMS
DDL
Data
Query Processor
Compiler
Access
Catalog
Database
8/26/2016
History of Database 8/26/2016
History of Database
8/26/2016
Jenis – Jenis Database Navigational DBMS 8/26/2016
Jenis – Jenis Database
Navigational DBMS
8/26/2016
Jenis – Jenis Database Hierarchial DB 8/26/2016
Jenis – Jenis Database
Hierarchial DB
8/26/2016
Relational DBMS 8/26/2016
Relational DBMS
8/26/2016
Database System Components 8/26/2016
Database System Components
8/26/2016
8/26/2016
8/26/2016
Data Models A collection of tools for describing –data –data relationships –data semantics –data constraints
Data Models
A collection of tools for describing
–data
–data relationships
–data semantics
–data constraints
Entity-Relationship model
Relational model
8/26/2016
Contoh ER Model 8/26/2016
Contoh ER Model
8/26/2016
Contoh Relational Model Attributes customer- customer- customer- account- Customer-id name street city number
Contoh Relational Model
Attributes
customer-
customer-
customer-
account-
Customer-id
name
street
city
number
192-83-7465
Johnson
Alma
Palo Alto
A-101
019-28-3746
Smith
North
Rye
A-215
192-83-7465
Johnson
Alma
Palo Alto
A-201
321-12-3123
Jones
Main
Harrison
A-217
019-28-3746
Smith
North
Rye
A-201
8/26/2016
Level of Abstractions 8/26/2016
Level of Abstractions
8/26/2016
Levels of Abstraction Physical level: describes how a record (e.g., customer) is stored. Logical level:
Levels of Abstraction
Physical level: describes how a record (e.g.,
customer) is stored.
Logical level: describes data stored in database,
and the relationships among the data.
type customer = record
customer_id : string;
customer_name : string;
customer_ street : string;
customer_city : integer;
end;
View level: application programs hide details of
data types. Views can also hide information (such
as an employee’s salary) for security purposes.
8/26/2016
Databases Everywhere!!! DBMS contains information about a particular enterprise – Collection of interrelated data
Databases Everywhere!!!
DBMS contains information about a particular
enterprise
– Collection of interrelated data
– Set of programs to access the data
– An environment that is both convenient and efficient to use
Database Applications:
– Banking: all transactions
– Airlines: reservations, schedules
– Universities: registration, grades
– Sales: customers, products, purchases
– Online retailers: order tracking, customized recommendations
– Manufacturing: production, inventory, orders, supply chain
– Human resources: employee records, salaries, tax deductions
Databases touch all aspects of our lives
8/26/2016
THANK YOU
THANK YOU