Professional Documents
Culture Documents
Data Design
Data Design
Data Design
1
Learning Objectives
Pemahaman Dasar
Pentingnya Data Modeling
Membuat penamaan yang tepat untuk
entitas, relationship dan atribute.
Mampu menggambar diagram E-R untuk
kondisi bisnis normal.
Menerapkan business rules dalam ER
Mengubah ERD menjadi relasional table
Data Normalization
1-Apr-14 2
The Data Hierarchy
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 3 McLeod and George Schell
Database
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 4 McLeod and George Schell
Figure 6.1 Spreadsheet
Example of the COURSE Table
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 5 McLeod and George Schell
Database (Cont’d)
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 6 McLeod and George Schell
Database Structures
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 7 McLeod and George Schell
Hierarchical Database
Structures
Hierarchical is formed by data groups,
subgroups, and further subgroups; like
branches on a tree.
– Worked well with TPSs
– Utilized computer resources efficiently
Network allows retrieval of specific records;
allows a given record to point to any other
record in the database.
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 8 McLeod and George Schell
Figure 6.2 The Hierarchical Structure
Between the DEPARTMENT and
COURSE Tables
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 9 McLeod and George Schell
Database Structures (Cont’d)
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 12 McLeod and George Schell
Figure 6.4 The COURSE Table
in Access
Management Information
Systems, 10/e Raymond
© 2007 by Prentice Hall 13 McLeod and George Schell
Hirarki Data: Database Oriented Approach
1-Apr-14 14
Data Modeling
Data modeling – teknik untuk mengorganisasi dan
mendokumentasikan data sistem
Bagian dalam fase analisis dalam pengembangan
database atau sistem informasi
Analisis – Design – Implementation
1-Apr-14 15
Data Modeling
Entity Relationship Model (ERD): Teknik
menggambarkan konsep/konstruk dalam dunia
ke dalam model yang perlu disimpan.
– Entity
– Relationship
– Key
– Attribute
– Cardinality
Memiliki standar pemodelan yang diterima luas.
...dengan teknik2 yang berbeda
1-Apr-14 16
Relationship symbols
Entity
symbols Attribute
symbols
A special
entity that is
also a
Relationship
relationship
degrees
specify
number of
entity types
Relationship
involved
cardinalities
specify how
many of each
entity type is
allowed
1-Apr-14 17
Contoh Unary Relationship
SUKU_CADANG Tersusun_atas
Contoh Binary Relationship
BARANG
1-Apr-14 25
Memecahkan many-to-many dengan associative entity
Order Produk
Order_Id: Produk_Nm
11 Buku
22 Alat Tulis
33 Map
44 Alat Gambar
55 Tas
Bagaimana carabe
You gotta menampilkan
confused!!! atau
menjelaskan 100.000 order dan 10.000 produk?
1-Apr-14 26
Memecahkan many-to-many dengan associative entity
Baris
Order Produk
Order
1-Apr-14 27
MS Access
1-Apr-14 28
Memecahkan many-to-many dengan associative entity
Mhsw Mat.Kul
Baris
Mhsw KRS Mat.Kul
KRS
1-Apr-14 29
Pentingnya model data
Data model
– Representasi yg relatif sederhana dari struktur data
dunia nyata yang kompleks; biasanya berbentuk grafis.
– Communications tool to facilitate interaction among the
designer, the applications programmer, and the end user
Rancangan database yang baik yang
menggunakan model data sebagai landasannya
Pengguna akhir memiliki pandangan dan
kebutuhan data yang berbeda
Model data mengorganisasikan data untuk
berbagai pengguna
Accounting is about data model and process model
1-Apr-14 30
Sumber Business Rules
Company managers
Policy makers
Department managers
Written documentation
– Procedures
– Standards
– Operations manuals
Direct interviews with end users
1-Apr-14 31