distributed databases project
TRANSCRIPT
![Page 1: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/1.jpg)
Kelvin WAHOME
Dan MBUGUA
![Page 2: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/2.jpg)
• Health : Doctor-patient appointments management
• Relations Derived : Doctors
Patients
Appointments
![Page 3: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/3.jpg)
• 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](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/4.jpg)
• Patients RelationNot fragmented
Stored at site 1
![Page 5: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/5.jpg)
• 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](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/6.jpg)
• 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](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/7.jpg)
doctors_personal_details patients_personal_details
![Page 8: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/8.jpg)
doctors_official_details appointments
![Page 9: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/9.jpg)
doctors_official_details appointments
![Page 10: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/10.jpg)
• Doctors relation Reconstructing doctor’s personal details and official details using the shared
attribute doctor_id
![Page 11: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/11.jpg)
• Appointments relation Reconstructing doctor’s personal details and official details using the shared
attribute doctor_id
![Page 12: Distributed Databases Project](https://reader031.vdocuments.site/reader031/viewer/2022022202/58b8837d1a28ab44078b69c5/html5/thumbnails/12.jpg)