1-Introduction To Database
1-Introduction To Database
GENAP 2019/2020
Outline
Pemanfaaatan Basis Data
Peluang karir & sertifikasi
Data
Basis Data
Jenis Basis Data
Arsitektur Basis Data
Sejarah Basis Data
Data abstraction
Pemanfaatan Basis Data
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
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.
4/1/2021
Is this file system ? ? ?
Semi otomatis ...
Punch Card adalah selembar kertas kaku yang berisi baik perintah untuk
mengendalikan mesin otomatis atau data untuk aplikasi pengolahan data. Kedua
perintah dan data diwakili oleh ada atau tidak adanya lubang di posisi yang telah
ditentukan. Fungsi utama media ini bukan untuk menyimpan informasi atau data
untuk manusia, melainkan untuk menyimpan pengaturan (setting) untuk mesin yang
berbeda.
9
Rada canggih dikit
10
Masih ingat yang ini ?
Magnetic Tape telah digunakan pertama kali oleh IBM untuk menyimpan
data pada tahun 1950-an. Sebuah roll Magnetic Tape dapat menyimpan
data setara dengan 10 ribu Punch Cards.
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
4/1/2021
Elements of a File System
Physical Physica
File blocks in main blocks i
Directorystructure Access Records memory secondar
management method Blocking buffers storage (disk
Disk
scheduling
User &
program
commands I/O
File File
operations manipulatio
file name n functions
File
allocation
User
access Free storag
control manageme
File management
concerns Operating system concerns
4/1/2021
Database ?
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
4/1/2021
Essential database characteristics:
4/1/2021
Ilustrasi Database
Real
World
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
Database
facts about the world in a database
Users
more facts
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 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
4/1/2021
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.
4/1/2021
A simplified database architecture
DBA Users/
Programmers
DBMS
DDL Data
Access
Query Processor
Compiler
Catalog Database
4/1/2021
History of Database
4/1/2021
Jenis – Jenis Database
Navigational DBMS
4/1/2021
Jenis – Jenis Database
Hierarchial DB
4/1/2021
Relational DBMS
4/1/2021
Database System Components
4/1/2021
4/1/2021
Data Models
A collection of tools for describing
◦ data
◦ data relationships
◦ data semantics
◦ data constraints
Entity-Relationship model
Relational model
4/1/2021
Contoh ER Model
4/1/2021
Contoh Relational Model
Attributes
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
4/1/2021
Level of Abstractions
4/1/2021
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.
4/1/2021
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
4/1/2021