teaching aid for bernstein’s algorithm

Post on 19-Mar-2016

26 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

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)

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

application4.Demo5.Conclusion

Introduction of features

Implementations

3NF Conversion using Bernstein’s Algorithm

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

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

Compute Closure

1. Reflexivity

2. Augmentation

3. Transitivity

Using Armstrong axioms

Normal Form Tester

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

Strength & Weakness

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

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

shortcomings are removed

Questions and Answers

top related