10 Modul Desain Pengelolaan Database

Download 10 Modul Desain Pengelolaan Database

Post on 06-Jul-2015

1.064 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

<p>Program Reguler &amp; Inhouse</p> <p>Desain dan Pengelolaan Database</p> <p>DAFTAR ISIProses Informasi...................................................................................................................................1 Manajemen Data...................................................................................................................................4 2.1 Pendahuluan...............................................................................................................................4 2.2 Manajemen Data Individual.......................................................................................................4 2.3 Manajemen Data Organisasi......................................................................................................6 2.4 Lingkaran Sistem Informasi.......................................................................................................6 2.5 Atribut-atribut Data....................................................................................................................7 2.5.1 Dapat di dibagi-bagi (shareable).......................................................................................7 2.5.2 Dapat di pindahkan (Transportable)...................................................................................7 2.5.3 Aman (Secure)....................................................................................................................7 2.5.4 Akurat (Accurate)...............................................................................................................7 2.5.5 Terkini ( Timely)................................................................................................................8 2.5.6 Relefan (Relevant).............................................................................................................8 2.6 Komponen dari Memori Organisasi...........................................................................................8 2.6.1 Anggota dalam Organisasi ( People)..................................................................................9 2.6.2 Tabel-Tabel.......................................................................................................................10 2.6.3 Dokumen..........................................................................................................................11 2.6.4 Multimedia.......................................................................................................................11 2.6.5 Model...............................................................................................................................12 2.6.6 Knowledge.......................................................................................................................12 2.6.7 Keputusan.........................................................................................................................12 2.7 Permasalahan dengan Data Sistem Manajemen......................................................................12 2.7.1 Duplikasi Data .................................................................................................................12 2.7.2 Kurangnya Kontrol Terhadap Data..................................................................................12 2.7.3 Kurangnya antar muka akses data....................................................................................13 2.7.4 Respon yang Lama...........................................................................................................13 2.7.5 Tidak Dapat menjawab permasalahan di dunia nyata......................................................13 2.7.6 Kurangnya Integrasi Data................................................................................................13 2.8 Data, Informasi dan Knowledge..............................................................................................14 2.9 Kesimpulan..............................................................................................................................15 Informasi.............................................................................................................................................16 3.1 Pandangan Sejarah...................................................................................................................16 3.1.1 Sejarah Sistem Informasi.................................................................................................17 3.1.2 Kelas Informasi................................................................................................................18 3.1.3 Informasi dan Perubahan Organisasi...............................................................................19 3.1.4 Penentuan Target Informasi.............................................................................................19 Sistem Database..................................................................................................................................21 4.1 Pendahuluan.............................................................................................................................21 4.2 Aplikasi-aplikasi sistem database............................................................................................21 4.3 Sistem Database vs Sistem File...............................................................................................22 4.4 Keunggulan DBMS..................................................................................................................23 4.5 Bahasa Pengolah Database......................................................................................................23 4.5.1 Data Definition Language (DDL)....................................................................................24 4.5.2 Data Manipulation Language (DML)..............................................................................24 4.6 Akses database dari Aplikasi Program.....................................................................................24 LP3T Nurul Fikri i</p> <p>Program Reguler &amp; Inhouse</p> <p>Desain dan Pengelolaan Database</p> <p>4.7 Pengguna Database..................................................................................................................24 4.7.1 User database dan Antar muka.........................................................................................24 4.7.2 Administrator database ....................................................................................................25 4.8 Struktur Sistem Database.........................................................................................................25 4.8.1 Storage Manager .............................................................................................................25 4.8.2 Query Processor...............................................................................................................27 4.9 Arsitektur Aplikasi...................................................................................................................28 4.10 Sejarah sistem database.........................................................................................................28 Model Entity Relationship (E-R)........................................................................................................30 5.1 Pengenalan Desain Database...................................................................................................30 5.2 Entitas dan Atribut ..................................................................................................................31 5.2.1 Primary Key.....................................................................................................................31 5.3 Relasi antar Entitas..................................................................................................................31 5.4 Fitur-fitur lain dari Model E-R................................................................................................33 5.4.1 Key Constraints................................................................................................................34 5.4.2 Partisipasi konstrain.........................................................................................................34 5.4.3 Weak Entity......................................................................................................................35 5.4.4 Entity vs Atribut...............................................................................................................35 SQL dan Model Relasional Data........................................................................................................38 6.1 Pendahuluan.............................................................................................................................38 6.2 Structured Query Language (SQL)..........................................................................................38 6.2.1 Data Definition Language................................................................................................39 6.2.2 Data Manipulation Language...........................................................................................39 6.2.3 Embedded and Dynamic SQL..........................................................................................39 6.2.4 Trigger .............................................................................................................................39 6.3 Konstruksi Model Relasional...................................................................................................39 6.4 Perintah SQL............................................................................................................................40 6.4.1 Mendefinisikan Table.......................................................................................................40 6.4.2 Memasukan data kedalam table.......................................................................................41 6.4.3 Menampilkan data dari table............................................................................................41 6.4.4 Lebih Jauh dengan penggunaan klausa WHERE.............................................................43 6.4.5 Menghasilkan data dari kolom yang ada pada table (derived data).................................45 6.4.6 Klausa LIMIT dan OFFSET............................................................................................45 6.4.7 Fungsi Aggregate.............................................................................................................46 6.4.8 Sub Query........................................................................................................................47 6.4.9 Klausa LIKE dan DISTINCT..........................................................................................47 6.4.10 Menghapus baris data.....................................................................................................48 6.4.11 Mengubah baris data......................................................................................................48 Relasi dan Query antara Table............................................................................................................50 7.1 Relasi antara table....................................................................................................................50 7.1.1 Relasi One To Many.........................................................................................................50 7.1.2 Relasi Many To Many......................................................................................................51 7.1.3 Relasi One To One...........................................................................................................53 7.1.4 Relasi Rekursif.................................................................................................................54 7.2 Query Join Table......................................................................................................................54 7.2.1 Join dua table..................................................................................................................54 7.2.1.1 Inner Join..................................................................................................................54 7.2.1.2 LEFT JOIN...............................................................................................................55 LP3T Nurul Fikri ii</p> <p>Program Reguler &amp; Inhouse</p> <p>Desain dan Pengelolaan Database</p> <p>7.2.1.3 RIGHT JOIN............................................................................................................56 7.2.1.4 Klausa Group By dan HAVING...............................................................................56 7.2.2 JOIN lebih dari 2 table.....................................................................................................57 Normalisasi.........................................................................................................................................59 8.1 Normalisasi Bentuk Pertama (1NF).........................................................................................59 8.2 Normalisasi Bentuk Kedua (2NF)...........................................................................................60 8.3 Normalisasi Bentuk Ketiga (3NF)...........................................................................................61 8.3.1 Normalisasi Bentuk Keempat (4NF)................................................................................62 RDBMS dengan MySQL database.....................................................................................................64 8.4 Fitur MySQL Database............................................................................................................64 8.4.1 Penyesuaian dengan standard-standard SQL...................................................................64 8.4.2 Program-program klien MySQL......................................................................................64 8.4.2.1 Program klien mysql................................................................................................64 8.4.2.2 Program klien mysqlimport......................................................................................66 8.4.2.3 Program klien mysqldump.......................................................................................66 8.4.2.4 Program klien mysqlcheck dan myisamchk.............................................................67 8.4.3 Storage Engine dan Tipe-tipe tabel..................................................................................67 8.5 Tipe-tipe kolom........................................................................................................................68 8.5.1 NUMERIK (BILANGAN).............................................</p>