Unnormalize Memilih Proses Chosing the Process

Dari tabel di atas dapat dilihat bahwa ada delapan primary key yang digunakan, yaitu: policy_no, prd_code, branch_id, claims_ref, item_no, txveh_code, cust_code, dan loss_code.

3. Normalisasi 2NF dan 3NF

Karena masih ada atribut yang belum mempunyai ketergantungan fungsional sepenuhnya terhadap primary key. Maka dibuatlah penormalan kedua atau yang disebut 2NF. Policy_no Policy_dt Effect_dt Expiry_dt Cust_code prd_code Insured_item Insured_ammt Nettpremium Branch_id Cover_type Veh_age Item_no Policy_no Engine_no Police_no Chassis Year Veh_age Merk_type Seat Colour Owner addr Veh_ammt Trxveh_code Claims_ref Item_no Veh_ammt Claim_ammt Cust_code Cust_name Addr Postcode Town Mar_stat Birth_dt Gender Occupation Identitycard Identitycard_no TelFax Claims_ref Claims_year Policy_no Loss_code Occur_dt Notify_dt Location Cust_code Currency Exch_rate Claim_estimate Prd_code Trans_dt Acc_prd Branch_id Branch_name Location prd_code prd_name Description Loss_code Description Gambar 4.6 Normalisasi 2NF Pada tabel diatas telah mencapai normal ketiga, karena tidak ada lagi atribut yang berulang dan setiap atribut sudah memliki ketergantungan fungsional dengan primary key dan setiap atribut bukan primary key.

4.7.1.4. Rancangan ERD

Dari hasil proses normalisasi yang telah dijelaskan dalam poin sebelumnya, maka dihasilkanlah suatu entity relationship diagram dalam bentuk physical design yang akan digunakan untuk database dari data warehouse takaful ini. maspol PK policy_no policy_dt effect_dt expiry_dt FK1 cust_code prd_code insured_item insured_ammt nettpremium FK2 branch_id cover_type veh_age InsertedDate trxclaim PK claims_ref claims_year FK2 policy_no FK3 loss_code occur_dt location notify_dt FK1 cust_code currency exch_rate claim_estimate prd_code trans_dt acc_prd InsertedDate mascust PK cust_code cust_name ins_name addr postcode town mar_stat birth_dt gender occupation identitycard identitycard_no tel fax InsertedDate product PK prd_code prd_name description InsertedDate trxveh PK trxveh_code FK1 item_no veh_ammt claim_ammt exch_rate currency veh_ammt claim_ammt deductible InsertedDate masveh PK item_no FK1 policy_no engine_no police_no chassis year merk_type seat colour owner addr veh_ammt veh_age InsertedDate branch PK branch_id branch_name location InsertedDate cause PK loss_code description InsertedDate Gambar 4.7 Entity Relationship Diagram Physical Design