1 / 16

Database & Data Handling

Database & Data Handling. STIS 2KS sem 1 2011. Deploying Site. Upload all joomla file to server through FTP Create db di MySQL Dump DB MySQl local Restore dumped MySQL DB local to Server Ubah argument di configuration.php di joomla server agar terkoneksi ke DB MySQL. Database.

dunne
Download Presentation

Database & Data Handling

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Database & Data Handling STIS 2KS sem 1 2011

  2. Deploying Site • Upload all joomla file to server through FTP • Create db di MySQL • Dump DB MySQl local • Restore dumped MySQL DB local to Server • Ubah argument di configuration.php di joomla server agar terkoneksi ke DB MySQL

  3. Database • File Based database • Mdb, AACCB, DBF, TXT, CSV, DAT, TPS, xls? • Database server • Hasil pengolahan BPS selalu dalam bentuk database. • Program aplikasi analysis statistik selalu mensyaratkan format database tertentu.

  4. Menangani Database (1) • Komponen dalam database : • Tabel : • kolom (field) • baris (record). • Relationship (imaginer / riil) • Query / View  Tabel • Bentuk dasar database  flat file  txt/CSV • Flat file dapat diexport dan import dg mudah.

  5. Menangani Database (2) • Menghubungkan ke DB berbeda : • Converting • Driver : ODBC, ADO, OLE, JDBC, Native • Memahami karakteristik dari DB software. • File  tabel : txt, csv, dat, dbf, tps, paradox • File  DB : mdb, accb, xls • Server  DB : MySQL, etc

  6. Converting • Mengubah dari satu bentuk DB ke yg lain • Contoh : DBF  CSV, MDB  DBF dll • Kebanyakan dilakukan jika program aplikasi tidak mampu membuka tipe DB yg kita punya.

  7. Karakteristik flat file • Type : CSV, TXT, DAT sejenis • Kita bisa melakukan konversi dengan merubah extensi dari file • Memiliki delimited • Jumlah record tidak terbatas • String direpresentasikan dg ‘x’ • Contoh:

  8. Karakteristik dbf file • file yg pertama kali digunakan untuk database. • Mampu menangani jutaan record • ‘Diterima’ dihampir semua database software, seperti layaknya flat file. • Kebanyakan dibangun dengan foxpro. • Berbentuk seperti single sheet excell.

  9. Karakteristik TPS file • Merupakan propietary DB yg dibuat oleh TopSpeed Software. • Biasanya digunakan untuk database bagi program yang dibangun dengan bahasa pemrograman Clarion. • Sangat secure.

  10. Karakteristik xls file • File yang dibangun menggunakan Ms Excell • Single worksheet dengan multiple sheet • Hanya mampu menangani sampai 1.048.576 record untuk MS Excell 2007 dan 65.556 untuk Excell versi sebelumnya. • Mampu melakukan semua hitungan statistik matematis dan text. • Mampu melakukan relasi antar sheet dan antar file.

  11. Karakteristik MDB/accb file • Dibangun menggunakan MS Access • Didesain khusus untuk database portable. • Mampu menangani jutaan record. • Cukup aman dengan adanya password dan encryption • Native dengan bahasa pemrograman VB. • Memiliki struktur yang mirip dengan DB server.

  12. Driver (1) • Database Driver : Software yang menjembatani program applikasi untuk dapat membaca sebuah database file/server. • Native : Driver yang sudah dimiliki oleh sebuah program aplikasi untuk membaca DB tertentu. • Contoh : MS Access  dbf

  13. Driver (2) • ODBC : Open Database Conectivity. • ODBC merupakan jembatan bagi seluruh program applikasi untuk mampu membaca sebuah DB. • Hampir semua DB memiliki driver untuk ODBC • Hampir semua Program Aplikasi memiliki driver untuk ODBC. DB ODBC Program Applikasi

  14. Driver (2) • ODBC digunakan di windows • JDBC : Java Database Connectivity • JDBC  ODBC yg hanya digunakan untuk koneksi database ke program aplikasi java. • JDBC cross platform java

  15. SQL • SQL : Structured Query Language • Command language untuk DB • Menggunakan bahasa bahasa manusia • Command : Create DB, Create table, insert data, update data, delete data, delete table, Delete DB. • Memiliki fungsi dasar matematika dan text.

More Related