Illustration on Lossless Join Decomposition and Dependency Preserving Decomposition. | DBMS

Sdílet
Vložit
  • čas přidán 8. 09. 2024
  • To ask your doubts on this topic and much more, click here: www.techtud.com...

Komentáře • 79

  • @yon1623
    @yon1623 Před rokem +3

    8 years letter i am watching this. thanks for making this , old man.

  • @eggfryrice308
    @eggfryrice308 Před 9 lety +13

    The way you determine if a decomposition is dependency preserving is entirely wrong, you need to compute the clousure of F which is F+ and compute F_x's projection's clousure F_x+, also F_y's projection's closure F_y+, and check if (F_x+ U F_y+) = F+

    • @sunoharachan3820
      @sunoharachan3820 Před 8 lety +10

      +yun sheng You realize there's more than one way of checking for dependency preservation right?

  • @Ihatenicknames1
    @Ihatenicknames1 Před 9 lety +20

    Thank you so so much! That was very helpful! You are awesome, greetings from Norway :)

  • @lifeofdarshit
    @lifeofdarshit Před 8 lety +5

    Helpful video, but one thing to remember is that Dependencies can be inferred so first we need to take the closure or there is a better algorithm to do that :
    To check if a dependency    is preserved in a decomposition of R into R1, R2, …, Rn we apply the following test (with attribute closure done with respect to F)
    result = alpha
    while (changes to result) do
    for each Ri in the decomposition
    t = (result intersection Ri)+ union Ri
    result = result  t
    If result contains all attributes in Beta, then the functional dependency
    alpha to beta is preserved.
    We apply the test on all dependencies in F to check if a decomposition is dependency preserving
    This procedure takes polynomial time, instead of the exponential time required to compute F+ and (F1 union F2 union … union Fn)+

  • @muhammadrizki601
    @muhammadrizki601 Před 2 lety

    Very Helpful Video! The material is clearer in this video than my lecturer!

  • @sherwincho3734
    @sherwincho3734 Před 5 lety +2

    Thanks, this is really helpful to understand the Chase test.

  • @1995aditi1
    @1995aditi1 Před 7 lety +1

    Awesome video sir..This helped me a lot in preparation of my University examination and is still helpful for Gate exam also..:)

  • @ryanpramadya5879
    @ryanpramadya5879 Před 6 lety +2

    Thanks brooo.. u are awesome :)
    Love u from indonesia

  • @rebekah7372
    @rebekah7372 Před 5 lety +2

    This was amazingly helpful, thank you so much!!

  • @elo5025
    @elo5025 Před 3 lety

    thank you sir , this is the best explanation so far!

  • @ivan-the-l
    @ivan-the-l Před 4 lety

    Thanks a lot! You are the best teacher

  • @Colouredeye3
    @Colouredeye3 Před 7 měsíci

    Amazing explanation!❤

  • @Therabidmonkey
    @Therabidmonkey Před 4 lety

    Thank you so much, This was extremely helpful.

  • @akanshagupta7365
    @akanshagupta7365 Před 2 měsíci

    Thankyouu so much sir

  • @zubainmulla5357
    @zubainmulla5357 Před 9 lety +56

    too low volume

  • @corpsansorgans
    @corpsansorgans Před 5 lety +2

    There is a BIG MISTAKE here regarding the section about dependency preservation.
    When checking which functional dependencies are preserved for R[i], you shouldn't look at the group of functional dependencies F but at the group of all of the functional dependencies that could be deduced from F, that is F+.
    "The restriction of F to R[i] is the set F[i] of all functional dependencies in F+ that include only attributes of R[i]" (Silberschatz, Korth, Sudarshan: Database System Concepts, p. 347)

    • @corpsansorgans
      @corpsansorgans Před 5 lety +1

      E.g.: if F={A->B, B->C} and we have a decomposition R[1] = (A,C), R[2] = (A, B), then F1 = {A->C} since it could be deduced from F using the transitivity rule. Therefore looking just a F could be misleading.

  • @tonyaltamura
    @tonyaltamura Před 6 lety +1

    Sorry but both algorithms aren't correct. In dep. preserving decomposition check you have to take care of the closures of the functional dependencies. In the second, there is an algorithm for lossless join and it is a little different. In both cases I'm pretty sure you can find examples where you get wrong results (not completely sure yet). Correct me if I'm wrong.

  • @nehairinirm7871
    @nehairinirm7871 Před 4 lety

    Thank u thank u..... Soooo much sir..

  • @shivamshah6579
    @shivamshah6579 Před 8 lety +2

    Where is the videos where the FD are decomposed??? Can't understand without that :-(

  • @watchmovie7288
    @watchmovie7288 Před 7 lety

    Thanks, It is very helpful...

  • @sumitkumar-rp6kn
    @sumitkumar-rp6kn Před 6 lety +1

    thanks...

  • @ginzeng4135
    @ginzeng4135 Před 2 lety

    F(A->C, B->C, C->D,DE->C,CE->A), Decomposition is AD, AB, BE, CDE. How to know if this Decomposition lossless or not? I use your method, and got confused.Could u please help me to figure it out, thank you.

  • @melikeb.bilgen2077
    @melikeb.bilgen2077 Před 6 lety

    clearly explained. Thanks

  • @jassikaur6180
    @jassikaur6180 Před 9 lety

    thanks you so much for great video

  • @souviksarkar8975
    @souviksarkar8975 Před 7 lety

    thank you...that was very helpful

  • @priyanshpawar332
    @priyanshpawar332 Před 2 lety

    thank you bro❣

  • @pallavigaonkar1769
    @pallavigaonkar1769 Před 8 lety +1

    smart explanation about lossless property.. but there is an algorithm for lossless join better you explain with it..

  • @nezmika2911
    @nezmika2911 Před 6 lety

    Thanks! Its helpful!

  • @ssc__12021
    @ssc__12021 Před 2 lety

    Thank you❤️

  • @lethiminhngoc3391
    @lethiminhngoc3391 Před 4 lety

    Thank you, but I compute that:
    R3(A,B,D,E): B-->D, AB-->DE, AD-->E, BE-->D
    Pls help me to explain. Thank you!

  • @ginzeng4135
    @ginzeng4135 Před 2 lety

    very well, dude

  • @kshitijsrivastava6148
    @kshitijsrivastava6148 Před 4 lety +1

    I don't think that's a proper definition of dependency preserving.
    You said that if you see that if particular functional dependency does not belong to R1,R2,R3 and R4 then it is not Dependency preserving.But That's wrong we have to check closure for (R1 U R2 U R3 U R4) and if in that functional Dependency of R does not belong then it is not Dependency preserving.

  • @shatadruroychowdhury6319

    Can you give me the solution if the BCNF decomposition of R(ABCDE) is Lossless or not, dependency preserving or not?
    FD: {AB-->C, C--D, D-->E, E-->A}

  • @rahulkhandelwal8781
    @rahulkhandelwal8781 Před 7 lety +2

    Dependency preserving algo might be wrong.

  • @m.design
    @m.design Před 7 lety +1

    can't getting answer for this. R(ABCDEG) and FD sets {AB->C, AC->B, AD->E, B->D, BC->A, E->G} D=( ABC, ACDE, ADG) answer as 'Lossless'

    • @rishikeshkumar4427
      @rishikeshkumar4427 Před 7 lety +2

      bro,it is lossless decomposition.
      r2=ACDE row get filled by alpha..hence lossless
      moreover it is not dependency preserving.

    • @m.design
      @m.design Před 7 lety

      I got A,B,C,D,E filled with 'Alpha' but can't getting 'Alpha' in 'G'...help me!

  • @brilliantboy8147
    @brilliantboy8147 Před 5 lety

    thanks great knowledge

  • @PriyanshuYadav-ct1lv
    @PriyanshuYadav-ct1lv Před rokem

    Thanks sir 🙏

  • @vishakhagautam1425
    @vishakhagautam1425 Před 8 lety +1

    R(A,B,C,D) and have following fds A→B ,B→C, C→D,D→B. and the decomposition of R into (AB),(BC),(BD) is this lossless and dependency preserving. sir answer is not coming can u explain plz

    • @googlelife2696
      @googlelife2696 Před 7 lety

      Vishakha Gautam answer is lossy decomposition and not dependency preserving too which i have find.

    • @pallavichoudhary8080
      @pallavichoudhary8080 Před 7 lety

      Shelly Sood I think the answer is lossless

    • @harshvardhansrivastava5785
      @harshvardhansrivastava5785 Před 7 lety

      This decomposition is FD preserving and lossless. The method in the video is not 100% working.

    • @rbk0965
      @rbk0965 Před 5 lety

      the answer is lossless because even if in 1 row we are getting all X then we can call it lossless so R1 is all X in this case

  • @tkdf13
    @tkdf13 Před 6 lety

    Thank you!

  • @fatima-cq6qh
    @fatima-cq6qh Před 2 měsíci

    Mashallah

  • @shreyanalpet2858
    @shreyanalpet2858 Před 5 měsíci

    This video is 9 year old.... And now I am here 😮

  • @sahilsunny9885
    @sahilsunny9885 Před 7 lety

    Thank You

  • @syedarbaz3781
    @syedarbaz3781 Před 5 lety +1

    It is not always true for depndncy presvng

  • @ompatel7217
    @ompatel7217 Před 4 měsíci

    what this algorithm is called

  • @Naveen-qz1rv
    @Naveen-qz1rv Před 8 lety

    thank you... helpful :)

  • @vishal4857
    @vishal4857 Před 7 lety +2

    thnks

  • @anjanbasumatary1510
    @anjanbasumatary1510 Před 8 lety

    Sir why didn't you compute for----AC->B,AB->C,BC->A.......

  • @ItsPu
    @ItsPu Před 4 lety

    I love you.

  • @mayursandbhor8824
    @mayursandbhor8824 Před 8 lety

    Is loseless join and loseless decomposition same or its different?

    • @kevinaud6461
      @kevinaud6461 Před 8 lety +1

      I believe a lossless decomposition is one in which you can perform a lossless join

  • @ohonaahona3404
    @ohonaahona3404 Před 6 lety +1

    please improve audio quality

  • @rahuljha8038
    @rahuljha8038 Před 9 lety

    awsm video

  • @devikat1010
    @devikat1010 Před 6 lety

    Tnk u

  • @gdasherpandu4636
    @gdasherpandu4636 Před 6 lety

    YAA=You Are Awesome.... XD

  • @parameshchakraborty1146

    de -G why? assumption?

  • @dazzykin
    @dazzykin Před 3 lety

    What is alpha?

  • @nilanjanasarkar2755
    @nilanjanasarkar2755 Před 7 lety

    please increase the sound level its not audible at alll!!!!!!!!

  • @mihirchakrabarti338
    @mihirchakrabarti338 Před 9 lety +6

    inaudible

  • @tsi6651
    @tsi6651 Před 3 lety

    elfa

  • @gauravabhishek5920
    @gauravabhishek5920 Před 6 lety

    Inaudible

  • @akshatsrivastava7771
    @akshatsrivastava7771 Před 3 lety

    Awaaz tez krlete thodi si aur🤬

  • @DabangMunda
    @DabangMunda Před 6 lety

    Too slow

  • @mayursoni1820
    @mayursoni1820 Před rokem

    Third class sound quality