EDP Week 3 Database Management Systems
EDP Week 3 Database Management Systems
Query / View
• Gabungan tabel (Master dan Transaction file)
Kumpulan Table
Isi Database:
Table
View
Tipe Data:
DateTime
Numeric
Character/Text
Boolean
dll
Ukuran Field
Row Or
Record
Isi Table
Week 3 – Database Management Systems
Data Management Approach
Flat File (Excel, Access, SQLite)
Database
• More efficient
• Less Space (only in a computer/server)
• Real Time (Updating Time)
• Integrity
Typical features
Program development
Backup and recovery
Database usage reporting
Database access
D
B
M
S
Views
Internal / physical view
• Hubungan Database pada hard disk, metode akses
Conceptual / logical view – db Schema
• Mendeskripsikan keseluruhan database
External / user view
• Akses user ke database, view data.
Week 3 – Database Management Systems
3 type of View
id PRIMARY KEY,
first_name (50) not null,
last_name (75) not null,
fname (50) not null,
dateofbirth not null );
Model Jaringan
• The network model allows each record to have multiple parent
and child records, forming a generalized graph structure
Model Relasional
• Is a collection of data items organized as a set of formally-
described tables from which data can be accessed in many
different waysWeek
without having
3 – Database to reorganize
Management Systems the database tables.
Database Model : Hierarkis
File Master
Barang
File Master
File Stok
Supplier
File File
Pembelian File Penjualan Pengeluaran
Barang Kas
File Master
Barang
File Master
File Stok
Supplier
File
File
Pembelian
Penjualan
Barang
Week 3 – Database Management Systems
Database Model : Relasional
Access Control
Backup Control
Biometric device
Inference Control
Berapakah total gaji seluruh karyawan? 400jt
Berapakah total gaji yang bukan lawyer dan bukan
wanita? 360jt
Week 3 – Database Management Systems
Example Encrypted Text
To Encrypt Text :
https://codemoji.org/#/encrypt
To Decrypt Text :
https://codemoji.org/#/decrypt
Backup Control
OBJECTIVE: Verify that backup controls in place
are effective in protecting data files from physical
damage, loss, accidental erasure, and data
corruption through system failures and program
errors.
Week 3 – Database Management Systems
Week 3 – Database Management Systems
The End