8.17 Recoverable Schedule in DBMS

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น • 140

  • @KNOWLEDGEGATE_kg
    @KNOWLEDGEGATE_kg  ปีที่แล้ว

    For complete DBMS, check out this video: th-cam.com/video/YRnjGeQbsHQ/w-d-xo.html

  • @coder5270
    @coder5270 5 ปีที่แล้ว +48

    Superb example of two students to explain recoverable schedule.

  • @LIFE_OF_COPYWRITER
    @LIFE_OF_COPYWRITER 5 ปีที่แล้ว +12

    Thank you sir
    I wants to share something to u
    6 month phle mera 1st sem {msc} ka presentation th. Or mene deadlock topic choose kr lia th. Even mujhe deadlock hota kya h ye b pta ni th. Or ppt to bna li thi thoda bhut pdh kr.. presentation k 1 ghnte pahle mene apke deadlock k sare vdo dekhe the. Sir mujhe btane me bahot acha lg ra hai ki mera presentation sbse acha th class me and meri teacher ne kaha jb ap present kr rhe the to mujhe lga mene q apke jese ni smjhaaya... A big thank you sir😊

  • @ragameghana5717
    @ragameghana5717 4 ปีที่แล้ว +2

    No words to say about your explanation.l have never seen such a wonderful teacher till now really hats off to your knowledge and way of expressing concepts

  • @nitanshu.v
    @nitanshu.v 6 ปีที่แล้ว +37

    Thanks a lot, sir for your uploads. You are doing a wonderful job helping students :)

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  6 ปีที่แล้ว +5

      God bless you Nitanshu.. Keep following..

  • @Dharmic_developer
    @Dharmic_developer ปีที่แล้ว +2

    Perfect Example...dhanyavaad sir

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  ปีที่แล้ว +1

      Most welcome dear❤ keep supporting & stay connected for more amazing contents👍😊
      You can also check out our course for all Computer Science subjects, sharing the link below:
      www.knowledgegate.in/learn/Zero-to-Hero-in-Computer-Science

  • @fatimaismail1175
    @fatimaismail1175 5 ปีที่แล้ว +8

    The Best teacher on youtube i have ever found
    i learnt alot from your videos
    thank you so much

  • @niteshkusagar3666
    @niteshkusagar3666 6 ปีที่แล้ว +4

    thank u sir, your lectures are very helpfull, they helped me a lot for preparing my Univ Exams.

  • @jashanpreet.753
    @jashanpreet.753 7 หลายเดือนก่อน +1

    dirty read - jab koi transaction kisi uncommitted transaction ki value ko read kare, database ki value read karne ke alawa...
    jo dirty read kar rha hai usko wait krna padega
    for notes, recap at 11:00

  • @indranathroy7905
    @indranathroy7905 6 ปีที่แล้ว +1

    Sir I have read learned from many ways... this is the cleared my concept. .. Sir hats off to you..

  • @vishaldhanani7241
    @vishaldhanani7241 6 ปีที่แล้ว +3

    God level explanation👍👌

  • @suchitrapathak7391
    @suchitrapathak7391 4 ปีที่แล้ว +1

    This person is teaching us for free thanks sir

  • @Ankit-we8ym
    @Ankit-we8ym 6 ปีที่แล้ว +3

    Sir You have amazing and unique talent of teaching.
    thankyou sir.

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  6 ปีที่แล้ว +1

      Thank you so much Ankit.. Work hard & excel & keep following..

  • @Kshitij19971
    @Kshitij19971 6 ปีที่แล้ว +2

    You explain this topic better than RBR

  • @satvikshukla2481
    @satvikshukla2481 4 ปีที่แล้ว +1

    wonderful explanation sir. hatsoff

  • @sakshideshmukh4078
    @sakshideshmukh4078 5 ปีที่แล้ว +2

    Thank You Sir !!!

  • @purnendubhatt1187
    @purnendubhatt1187 3 ปีที่แล้ว +2

    Sir you do very good job by sharing this kind of knowledge

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  3 ปีที่แล้ว

      Thanks a lot Purnendu.. keep learning & supporting !! Do visit our website www.knowledgegate.in for more courses and contents !!

  • @nikitasinha8181
    @nikitasinha8181 4 ปีที่แล้ว +1

    Thank u so much sir

  • @breaktask7132
    @breaktask7132 ปีที่แล้ว +1

    Awesome Explanation Sir
    Thank YOU💖

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  ปีที่แล้ว

      Most welcome❤ Keep learning & supporting! Stay connected for more amazing videos & contents 👍 You can also check out our CS bundle course for complete preparation of Computer Science subjects, sharing course link below:
      www.knowledgegate.in/learn/Zero-to-Hero-in-Computer-Science

  • @factworld4375
    @factworld4375 5 ปีที่แล้ว +1

    One question: For recoverable scenario explained in this video.
    A = 10,
    T1, R(A) = 10, W(A) = A+ 10 = 20
    T2, R(A) = 20, W(A) = A-5 = 15
    So, Local Buffer = 15
    If T1 commit but T2 fails then in Database commit value of A will be 15 but expected is 10. Then, how the example is Recoverable.

    • @factworld4375
      @factworld4375 5 ปีที่แล้ว +1

      @@BhoomiKiPathshala Thanks make sense.

    • @nirajaghera1930
      @nirajaghera1930 ปีที่แล้ว

      Did you get the answer about this? I am also searching the whole internet for this issue.

  • @sachetansabhahit6235
    @sachetansabhahit6235 4 ปีที่แล้ว +2

    DOUBT: if T1 commits before T2 after that T2 fails and rolls back , then while T1 is commiting it would update the DB with whatever value was written by T2. But we know that T2 didnt execute at all. Isn't the DB inconsistent

    • @pradeepjaiswal9706
      @pradeepjaiswal9706 4 ปีที่แล้ว

      T2 's Read value will be rollback to DB not the written value!!

    • @signaturecomics7223
      @signaturecomics7223 3 ปีที่แล้ว

      Bro T2 ke rollback ka mtlb h ki db Waps vesa ho jyega jese wo T2 ke start hone ke just phle tha😊😊
      Mtlb db me jo t1 ne kiya whi save hoga
      I hope now you will get it........

  • @irfansheikh9063
    @irfansheikh9063 6 ปีที่แล้ว +1

    Nicely explained! Thanks a lot!

  • @Satvikshukla0007
    @Satvikshukla0007 4 ปีที่แล้ว +1

    best video on internet for recoverability.

  • @siddharthkulkarni625
    @siddharthkulkarni625 5 ปีที่แล้ว +1

    If T1 has committed and immediately after it Failure occurs in T2..what value will T2 obtain after rolling back? Considering T2 has done a dirty read..

  • @snehalpradhan4200
    @snehalpradhan4200 2 ปีที่แล้ว +1

    Now I got what is recoverable schedule
    Thank you sir 🙏

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  2 ปีที่แล้ว

      Great, Most welcome dear 😍 Keep learning & supporting 👍 Do visit our website www.knowledgegate.in for more amazing courses & contents 👍😊

  • @viveknishad4993
    @viveknishad4993 6 ปีที่แล้ว +12

    sir, perfect example diya hai aapne exam mai bhulne ka chance he nahi hai 🤣🤣🤣

  • @adnanahmadsiddiqui4395
    @adnanahmadsiddiqui4395 6 ปีที่แล้ว +2

    sir plz listen there is a very big confusion...
    10:44 but sir agar T2 rollback krega to database ki value fir bhi 15 hi rahegi lekin agar T2 ne transaction kiya hi ni to database ki value 20 honi chahiye thi na???????????? So is this condition also a irrecoverable?? plz respond.

  • @mohammadfaisalkhan4137
    @mohammadfaisalkhan4137 6 ปีที่แล้ว +1

    You are awesome..ek ek point clear krdia

  • @sohomdey51
    @sohomdey51 5 ปีที่แล้ว +2

    Thanks a lot🖤

  • @anahataghosh9204
    @anahataghosh9204 4 ปีที่แล้ว +1

    thank you sir.. That is all I can say

  • @rupashijain3144
    @rupashijain3144 6 ปีที่แล้ว +2

    Thanx a lot sir.. You are just amazing..

  • @prekshasharma1216
    @prekshasharma1216 6 ปีที่แล้ว

    Thanku so much sir.....your teaching techniques are awesome....thanku

  • @mariabatool140
    @mariabatool140 4 ปีที่แล้ว

    Excellent Teaching Method...

  • @anand__mishra
    @anand__mishra 6 ปีที่แล้ว +1

    very very nice explanation...thank you sir

  • @narendraparmar1631
    @narendraparmar1631 6 ปีที่แล้ว +1

    Dhanyavad sir ji😆

  • @abhinavmathur6072
    @abhinavmathur6072 4 ปีที่แล้ว +5

    Exam in 1 hour from now..wish me luck 😭

  • @muntakasaleh1433
    @muntakasaleh1433 5 ปีที่แล้ว +2

    This is really helpful.

  • @rhythmtomar7872
    @rhythmtomar7872 3 ปีที่แล้ว

    Wha sir maza agaya 😍😍 phele itne pyaar se neta banake normalization karwa di and ab ye 💪🏻💪🏻🔥🔥Hats off to you sir ❤️❤️

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  3 ปีที่แล้ว +2

      Dhanyawad apka 😍😍

    • @rhythmtomar7872
      @rhythmtomar7872 3 ปีที่แล้ว

      @@KNOWLEDGEGATE_kg Thanku so much to you sir for the beautiful content ❤️

  • @rajeshgurjar1310
    @rajeshgurjar1310 5 ปีที่แล้ว

    Really amazing explaination sir,thanku very much!

  • @aakashgokul7207
    @aakashgokul7207 5 ปีที่แล้ว +1

    nanni und mwonusey

  • @aku_11_11
    @aku_11_11 6 ปีที่แล้ว +1

    You're lectures r great sir...
    Thanku sir..

  • @dhirajpatidar8675
    @dhirajpatidar8675 5 ปีที่แล้ว

    Superb sir...... Thankyou very much for making this video.....😊😊😊

  • @anuragkumargupta7506
    @anuragkumargupta7506 5 ปีที่แล้ว

    you are great sir . thank u very much. i love your teaching

  • @know9242
    @know9242 6 ปีที่แล้ว +3

    Sir plz
    UGCNet
    Computer Science and Application
    Subject related aur kuch topics ke videos banaye....

  • @gauravyadav6904
    @gauravyadav6904 5 ปีที่แล้ว +1

    thank you sirr :)

  • @shajilav385
    @shajilav385 6 ปีที่แล้ว +1

    Tank u sir. U r grt

  • @ashutoshgupta434
    @ashutoshgupta434 5 ปีที่แล้ว +2

    I liked at 1K!! Thanks sir for all the videos and helping me throughout my college journey!

  • @faizanmemon4956
    @faizanmemon4956 6 ปีที่แล้ว +3

    What is the difference between cascadeless schedule and recoverable schedule ? Someone please explain

    • @imprakrut
      @imprakrut 6 ปีที่แล้ว +3

      - In recoverable schedules, the order of commit is in the order of dirty read.
      - In Cascadeless schedules, there is a commit in between a dirty read.
      - All Cascadeless schedules are recoverable schedules but all recoverable schedules are not cascadeless.

  • @arvindkondeti4627
    @arvindkondeti4627 6 ปีที่แล้ว +2

    example was good..

  • @alvinaaslam6569
    @alvinaaslam6569 6 ปีที่แล้ว

    awesome explaination
    it really help me to understand topics one day before exam

  • @nipungarg1279
    @nipungarg1279 6 ปีที่แล้ว +1

    Sir does local buffer concept prevails in real life ? Because practically utill and unless a transaction is commited the value is read from database only ...
    So in your example how R(A) in T2 is reading 20 ?? It should read 10 right , since T1 has not commited ....?? PLEASE REPLY !!

    • @ankitkumartiwari5278
      @ankitkumartiwari5278 6 ปีที่แล้ว

      Different transactions share same local buffer or same memory so the value in local buffer when t 2 reads the data item is 20

    • @ankitkumartiwari5278
      @ankitkumartiwari5278 6 ปีที่แล้ว

      And the value in db is 10..hence its a dirty read ..the value in db is written once commit operation occurs

    • @ankitkumartiwari5278
      @ankitkumartiwari5278 6 ปีที่แล้ว

      The transaction read values from main memory /local buffer according to memory hierarchy and if not in memory then accesess db (secondary memory)

  • @DURGESHKADAM
    @DURGESHKADAM 6 ปีที่แล้ว +3

    thank you

  • @mariabatool140
    @mariabatool140 4 ปีที่แล้ว

    Thank You for effective lectuers...

  • @simransingh6137
    @simransingh6137 3 ปีที่แล้ว +1

    Thank you sir

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  3 ปีที่แล้ว

      You're most welcome dear Simran, keep learning & supporting !! Do visit our website www.knowledgegate.in for more courses & contents !!

  • @vinayak186f3
    @vinayak186f3 3 ปีที่แล้ว +11

    Thanks for the cheating tips 😬

  • @preetipandey7055
    @preetipandey7055 5 ปีที่แล้ว +1

    kindly make videos on timestamp based ordering and validation based protocols.

  • @Mr767267
    @Mr767267 6 ปีที่แล้ว +1

    Sir, How can T2-R(a) be a dirty read when those are separate transaction so they will have different memory buffers. Essentially the T2 should read the DB value as T1 was not committed.

    • @sourabhyadav6866
      @sourabhyadav6866 5 ปีที่แล้ว +1

      Every transaction share same local buffer, we don't have different buffer for different transactions

  • @AkashSharma-lu3dp
    @AkashSharma-lu3dp 5 ปีที่แล้ว +2

    Sir, 4:34 pe value database mein 5 ho jaani chahiye na kyunki T1 vaapas 10 minus kar dega? Rollback means everything rollback or just values in buffers?

  • @priyaarya9354
    @priyaarya9354 6 ปีที่แล้ว +2

    Sir dirty read occur only when a transaction T1 reads data written by T2 and T1 commit before T2, so when the order of commit is same, there is no dirty read, please clarify.

    • @mayurigarg3527
      @mayurigarg3527 6 ปีที่แล้ว +1

      It does not happen becoz at a time only one transaction happen either t1 or t2 but these transaction occur so fast it seems like they occur simultaneously but in practical at a time one transaction occur

    • @mayurigarg3527
      @mayurigarg3527 6 ปีที่แล้ว

      Here same order means those who read first will commit first i.e t1 read first then it commit first.

    • @malayagr
      @malayagr 6 ปีที่แล้ว +1

      The order of commit can never be the same, can it? Both the transactions will never commit at the same time, since we aren't really running two instructions together, but switching from one set of instructions to another. There's always a possibility of dirty read. In your case, if T1 does read data from T2, it should always commit after T2 to avoid dirty read.

  • @shraddhashejul7329
    @shraddhashejul7329 6 ปีที่แล้ว +1

    thanks

  • @Lost_poetry_029
    @Lost_poetry_029 5 ปีที่แล้ว

    Thanks a lot sir I am a university student it helped me a lot I'm following you from my 3rd sem when I read DSTL . A video on log based recovery sir plzzzzzzzzzzzzzzz

    • @Lost_poetry_029
      @Lost_poetry_029 5 ปีที่แล้ว

      I'm sick of this topic plzzz consider it and help me

  • @Sandeepkumar-hf3re
    @Sandeepkumar-hf3re 6 ปีที่แล้ว

    Sir, tell me one that if n transaction running concurrently then a failure is occur in a particular transaction because of logical error(say T1) and m number of transaction
    transaction which are directly or indirectly depending upon T1 due to dirty read then all n-1 transactions(m and n-1-m) roll back when T1 roll back or only m transaction rollback .As no one committed yet. Sir, please reply this question

  • @rajpalmehra2271
    @rajpalmehra2271 3 ปีที่แล้ว

    Thnx u soo much sir......

  • @RaviSingh-yf6jd
    @RaviSingh-yf6jd 6 ปีที่แล้ว

    Thanks Sir

  • @sarojsharma7526
    @sarojsharma7526 5 ปีที่แล้ว +1

    Very nice sir

  • @AyushGupta-ib5qk
    @AyushGupta-ib5qk 6 ปีที่แล้ว +1

    Nice videos! Please post some videos on Query Optimizations

  • @nirmalpatel155
    @nirmalpatel155 5 ปีที่แล้ว +10

    Technical Guruji wants to know your location 00:28

  • @preetisahu5137
    @preetisahu5137 6 ปีที่แล้ว +1

    Sir for any DR if T does r(a) it reads a's valuefrm DB and T2 frm same schedule does r(a) reads a frm LB why t2 not get a's value frm DB also

    • @jayramnandagiri6282
      @jayramnandagiri6282 5 ปีที่แล้ว

      Because intial read was from database which is done by T1, as T1 reads first it goes into local buffer as everything is done in local buffer and T2 also reads which is same data item that's it reads from local buffer ,if different item was there it reads from database..hope you get it.

  • @signaturecomics7223
    @signaturecomics7223 3 ปีที่แล้ว

    Sir ye example to dirty read problem ka example h to consistent schedule kese ho skta h ye schedule?????
    Someone please correct me if I am wrong 🤔🤔🤔

  • @vishalmishra1937
    @vishalmishra1937 6 ปีที่แล้ว +1

    perfect

  • @sd1world872
    @sd1world872 ปีที่แล้ว +1

    Superb sir 😃😃😃

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  ปีที่แล้ว

      Thanks a lot 😊keep supporting & stay connected for more amazing contents👍😊
      You can also check out our course for all Computer Science subjects, sharing the link below:
      www.knowledgegate.in/learn/Zero-to-Hero-in-Computer-Science

  • @shubhamkawde9125
    @shubhamkawde9125 4 ปีที่แล้ว

    Is it possible to provide separate buffer memory for all transactions if not then why ?

  • @monikajuneja4414
    @monikajuneja4414 6 ปีที่แล้ว +1

    Gud job

  • @princeyadav5282
    @princeyadav5282 6 ปีที่แล้ว +1

    awesome sir but these words are so small for yr great work

  • @aakankashasharma1007
    @aakankashasharma1007 6 ปีที่แล้ว +1

    Suppose T2 first reads a value from T1, and then T1 reads a value from T2. Then there is always going to be a chance of irrecoverability. What do we do call and what do we do in such cases?

  • @RaviSingh-yf6jd
    @RaviSingh-yf6jd 5 ปีที่แล้ว +1

    Thanks sir but also upload Artificial Intelligence video's

  • @awanishyadav9696
    @awanishyadav9696 6 ปีที่แล้ว +2

    Sir all topic Ka vedio ek series me nahi hai

  • @malayagr
    @malayagr 4 ปีที่แล้ว

    Topic to hide main motive: Recoverable Schedule.
    Main motive: Expert Cheating Advice.

  • @pavanvemuri6352
    @pavanvemuri6352 6 ปีที่แล้ว +1

    :/ no english videos on this topic?

  • @sankalpietechtips
    @sankalpietechtips ปีที่แล้ว +1

    Bechara student 2, bahar khada bas tamasha dekh sakta hai 😢

  • @ci.se.purpose4844
    @ci.se.purpose4844 ปีที่แล้ว

    Is it possible, ki koi schedule consistent ho usko ham run kare uske baad v system inconsistent ya irrecoverable ho?

    • @ci.se.purpose4844
      @ci.se.purpose4844 ปีที่แล้ว

      Recoverable hona kisi schedule ke liye mandatory hai for being scheduled in database.

    • @ci.se.purpose4844
      @ci.se.purpose4844 ปีที่แล้ว

      Conflict and view serializable ke saath saath ye v hona chahiye.

  • @allsorted9976
    @allsorted9976 7 หลายเดือนก่อน

    awesome lecture

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  7 หลายเดือนก่อน

      Thank you so much, @allsorted9976. Keep learning & stay connected for more content.

  • @April-wf1wh
    @April-wf1wh 3 ปีที่แล้ว

    7:02....🙌🙌

  • @simranjeetkaur-fr6pu
    @simranjeetkaur-fr6pu 6 ปีที่แล้ว +1

    sir if i done ur videos is it enough?

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip 3 ปีที่แล้ว +1

    💯💯💯👍

  • @Ankit-we8ym
    @Ankit-we8ym 6 ปีที่แล้ว +1

    waiting for coming videos sir

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  6 ปีที่แล้ว +1

      You will get atleast 1 daily..

    • @Ankit-we8ym
      @Ankit-we8ym 6 ปีที่แล้ว

      Sir please make one video atleast daily

  • @helenasefa8567
    @helenasefa8567 3 ปีที่แล้ว

    can't u make this video in english ....it would be helpful for those of us who couldn't listen and speak hindi

  • @shashiram9889
    @shashiram9889 5 ปีที่แล้ว +2

    arigato

  • @Dgytruuv
    @Dgytruuv 6 ปีที่แล้ว +2

    Sir DBMS kb tk complete hoga??

  • @charanjeetbaidwan4421
    @charanjeetbaidwan4421 5 ปีที่แล้ว

    sir,how i can know that "there isn't any dirty read"?

    • @prasuntiwari4291
      @prasuntiwari4291 5 ปีที่แล้ว

      In this case T2 does dirty read, as T1 rolls back and the value read by T2 is inconsistent with the original value.

  • @ashishsinha8893
    @ashishsinha8893 6 ปีที่แล้ว +2

    sir DSA par kab baat kigiyega...

    • @ashishsinha8893
      @ashishsinha8893 6 ปีที่แล้ว +1

      sir kaam kigiye ispe v hmesa like karke ignore mat kigiye???

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  6 ปีที่แล้ว +1

      Ignore nai.. Kaam chalu hai..

  • @abhishekprasad9276
    @abhishekprasad9276 5 ปีที่แล้ว +1

    Dirty read bhi to yahi tha🙄🙄🙄🙄

  • @muneebzubair5069
    @muneebzubair5069 5 ปีที่แล้ว +1

    Love from Pakistan

  • @anjali9665
    @anjali9665 3 ปีที่แล้ว +1

    Non recoverable schedule's example 🤣🤣

  • @vandanaludhani7237
    @vandanaludhani7237 5 ปีที่แล้ว +1

    sir thanks fr teaching. but topic ko khichte bht hai aap. thoda fast complete kijiye

  • @anuradhawithanage9861
    @anuradhawithanage9861 4 ปีที่แล้ว +1

    Sir can you please upload English video on this topic

  • @girmaasefa5600
    @girmaasefa5600 6 ปีที่แล้ว +1

    please Sir Use English

  • @KNOWLEDGEGATE_kg
    @KNOWLEDGEGATE_kg  ปีที่แล้ว

    🔥Complete DBMS by Sanchit Sir: tiny.cc/DBMS_Sanchitsir_kg
    🔥🔥All Computer Science Subjects by Sanchit Sir: tiny.cc/CSbundle_dbms_kg

  • @ashabrintha9536
    @ashabrintha9536 2 ปีที่แล้ว

    Speak in english

  • @isroindia6083
    @isroindia6083 ปีที่แล้ว +1

    Thank you sir

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  ปีที่แล้ว +1

      You’re welcome 😊 keep supporting & stay connected👍 Do visit our website www.knowledgegate.in for more amazing videos & contents😍