Distributed Databases Project

12
Kelvin WAHOME Dan MBUGUA

Transcript of Distributed Databases Project

Page 1: Distributed Databases Project

Kelvin WAHOME

Dan MBUGUA

Page 2: Distributed Databases Project

• Health : Doctor-patient appointments management

• Relations Derived : Doctors

Patients

Appointments

Page 3: Distributed Databases Project

• Three physical sites on three different O/S platforms (Windows 10, MacOS, Ubuntu 14.04)

• Three different DBMS:• SQL SERVER – Running on Windows 10

• PostgreSQL – Running on MacOS

• MySQL – Running on Ubuntu 14.04

Page 4: Distributed Databases Project

• Patients RelationNot fragmented

Stored at site 1

Page 5: Distributed Databases Project

• Doctors RelationFragmented vertically to derive two fragments:

• doctors_personal_details stored at Site 1

• doctors_official_details – Further fragmented along its tuples to derive two fragments (horizontal fragmentation): doctors_official_details for doctor’s whose specialization is listed as General Practitioner -

stored at Site 2

doctors_official_details for doctor’s whose specialization is not General Practitioner – stored at Site 3

Page 6: Distributed Databases Project

• Appointment’s RelationFragmented using derived horizontal fragmentation:

• Appointment_details in which the participating doctor has their specialization listed as General Practitioner - stored at Site 2

• Appointment_details in which the participating doctor is not listed as a General Practitioner - stored at Site 3

Page 7: Distributed Databases Project

doctors_personal_details patients_personal_details

Page 8: Distributed Databases Project

doctors_official_details appointments

Page 9: Distributed Databases Project

doctors_official_details appointments

Page 10: Distributed Databases Project

• Doctors relation Reconstructing doctor’s personal details and official details using the shared

attribute doctor_id

Page 11: Distributed Databases Project

• Appointments relation Reconstructing doctor’s personal details and official details using the shared

attribute doctor_id

Page 12: Distributed Databases Project