in Databases
695 views
0 votes
0 votes
a) lossy and dependency preserving

b)lossless and dependency preserving

c)losslsess and no dependency preserving

d)lossy and not dependency preserving
in Databases
695 views

2 Answers

1 vote
1 vote
It is clearly Dependency preserving as the dependency D-> BC is satisfied in A and G->HD is satisfied in E.

For loseless decomposition,  intersection of (D,B,C) and (D,F,G,H) gives D which is the key in (D,B,C).

 

Hence the decomposition is both dependency preserving and loseless.

4 Comments

@Heinsberg .As relation e contains d,f,g,h not all are covered under fds then how it is dependency psvng
0
0
For a decomposition to be loseless , the intersection of sets should give a set of attributes that is key for any one of the set.

When you say F is not covered, it only implies that key for e will be gf. But as D is also key of a and common in a,e . The decomposition becomes loseless.
0
0
yaa it is lossless am not saying about lossless property ..m asking about its dependency preservation
0
0
Yes the 2 dependencies are preserved in their respective tables. D=BC preserved in A and G=HD preserved in E. F has no role in dependency preservation.
0
0
0 votes
0 votes
Option B is correct .

Reason : It is lossless as in realtion a 'd' which is common attribute in both the tables is candidate key.

It is dependency preserving because d->bc is satisfied in relation a and g->hd is satisfied by e.

Dependency preserving states that the set of dependencies of all the decomposed tables should cover the original tables dependencies.

CORRECT ME IF I AM WRONG.

Related questions