Top Banner
CS4221 Project Relational Database Schema using Bernstein’s Algorithm Group P01: Tan Wei Liang Jeremy (A0097876A) Melvin Lee Zhong Wei (A0097719L) Shiwani Agarwal (A0105301E) Sherlyn Goh Shi Hui (A0100848J)
12

Teaching Aid for Bernstein’s Algorithm

Mar 19, 2016

Download

Documents

vilmos

P01. Teaching Aid for Bernstein’s Algorithm. with Step-by-step Explanation. Wong Kim Wee Alvin U099023H Chua Jie Sheng A0073894N Steve Ng A0074059B Chin Gui Pei A0073834B. Overview. Problem. Proposed Solution. Architecture. Demo. Problem. Reconstructibility. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Teaching Aid for Bernstein’s Algorithm

CS4221 ProjectRelational Database Schema using

Bernstein’s Algorithm

Group P01:Tan Wei Liang Jeremy (A0097876A)Melvin Lee Zhong Wei (A0097719L)

Shiwani Agarwal (A0105301E)Sherlyn Goh Shi Hui (A0100848J)

Page 2: Teaching Aid for Bernstein’s Algorithm

Content1. Introduction of features2. Implementations3.Strength and weakness of our

application4.Demo5.Conclusion

Page 3: Teaching Aid for Bernstein’s Algorithm

Introduction of features

Page 4: Teaching Aid for Bernstein’s Algorithm

Implementations

Page 5: Teaching Aid for Bernstein’s Algorithm

3NF Conversion using Bernstein’s Algorithm

1. Eliminate extraneous attribute2. Covering3. Partition4. Merge equivalent keys5. Eliminate transitive dependencies6. Construct relations

Page 6: Teaching Aid for Bernstein’s Algorithm

1. Bernstein’s Algorithm does not guarantee reconstructibility (or losslessness)

2. Bernstein’s Algorithm does not find all the keys

Shortcomings of Bernstein’s Algorithm removed

Page 7: Teaching Aid for Bernstein’s Algorithm

Compute Closure

1. Reflexivity

2. Augmentation

3. Transitivity

Using Armstrong axioms

Page 8: Teaching Aid for Bernstein’s Algorithm

Normal Form Tester

1. 1st Normal Form2. 2nd Normal Form3. 3rd Normal Form4. Boyce-Codd Normal Form

Page 9: Teaching Aid for Bernstein’s Algorithm

Strength & Weakness

Strength:● Good interface for input and editing FDs● Clear explanation

Weakness:● Not all of the Bernstein’s Algorithm’s

shortcomings are removed

Page 10: Teaching Aid for Bernstein’s Algorithm
Page 11: Teaching Aid for Bernstein’s Algorithm

Questions and Answers

Page 12: Teaching Aid for Bernstein’s Algorithm