8.17 Recoverable Schedule in DBMS

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024
  • 📝 Please message us on WhatsApp: wa.me/91800012...
    💻 KnowledgeGate Website: www.knowledgeg...
    📲 KnowledgeGate Android App: tiny.cc/KG_Offi...
    ➡ Do not miss our Bestseller Courses:
    🔴 GATE Guidance-2025: www.knowledgeg...
    🟠 GATE Guidance-2026: www.knowledgeg...
    ➡ Contact Us:
    🟩 Whatsapp Chat: wa.me/91859512...
    📞Call on: +91-8000121313
    🟦 Telegram Updates: t.me/kg_gate
    🟩 Whatsapp Updates: www.whatsapp.c...
    📧 Email: contact@knowledgegate.in
    ➡ Our One Shot Semester Exam Videos: 👇
    ▶ Operating System: • Complete Operating Sys...
    ▶ DBMS: • Complete DBMS Data Bas...
    ▶ Computer Network: • Complete CN Computer N...
    ▶ Digital Electronics: • Complete DE Digital El...
    ▶ Computer Architecture: • Complete COA Computer ...
    ▶ Data Structure: • Complete DS Data Struc...
    ▶ Algorithm: • Complete DAA Design an...
    ▶ Software Engineering: • Complete Software Engi...
    ▶ Theory of Computation: • Complete TOC Theory of...
    ▶ Compiler: • Complete CD Compiler D...
    ▶ Discrete Maths: • Complete DM Discrete M...
    ➡ Free Subject-Wise Complete PlayList: 👇
    ▶️ DBMS: tiny.cc/kg_yt_DBMS
    ▶️ Operating System: tiny.cc/kg_yt_OS
    ▶️ TOC|Automata: tiny.cc/kg_yt_toc
    ▶️ Computer Networks: tiny.cc/kg_yt_CN
    ▶️ Digital Electronics: tiny.cc/kg_yt_D...
    ▶️ Compiler Design: tiny.cc/kg_yt_C...
    ▶️ Computer Architecture: tiny.cc/kg_yt_COA
    ▶️ Data Structure: tiny.cc/kg_yt_D...
    ▶️ Algorithms: tiny.cc/kg_yt_A...
    ▶️ Set, Relation, Function: tiny.cc/kg_yt_D...
    ▶️ Graph Theory: tiny.cc/kg_yt_g...
    ▶️ Group Theory: tiny.cc/kg_yt_g...
    ▶️ Proposition: tiny.cc/kg_yt_p...
    #knowledgegate #GATE #sanchitjain
    *********************************************************

Комментарии • 140

  • @KNOWLEDGEGATE_kg
    @KNOWLEDGEGATE_kg  Год назад

    For complete DBMS, check out this video: ruclips.net/video/YRnjGeQbsHQ/видео.html

  • @coder5270
    @coder5270 5 лет назад +47

    Superb example of two students to explain recoverable schedule.

  • @LIFE_OF_COPYWRITER
    @LIFE_OF_COPYWRITER 5 лет назад +10

    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 3 года назад +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 :)

  • @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.

  • @indranathroy7905
    @indranathroy7905 6 лет назад +1

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

  • @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

  • @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..

  • @suchitrapathak7391
    @suchitrapathak7391 4 года назад +1

    This person is teaching us for free thanks sir

  • @satvikshukla2481
    @satvikshukla2481 4 года назад +1

    wonderful explanation sir. hatsoff

  • @siddharthkulkarni625
    @siddharthkulkarni625 4 года назад +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..

  • @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.

  • @jashanpreet.753
    @jashanpreet.753 6 месяцев назад +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

  • @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 !!

  • @vishaldhanani7241
    @vishaldhanani7241 5 лет назад +3

    God level explanation👍👌

  • @know9242
    @know9242 6 лет назад +3

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

  • @adnanahmadsiddiqui4395
    @adnanahmadsiddiqui4395 5 лет назад +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.

  • @Kshitij19971
    @Kshitij19971 6 лет назад +2

    You explain this topic better than RBR

  • @sakshideshmukh4078
    @sakshideshmukh4078 5 лет назад +2

    Thank You Sir !!!

  • @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 👍😊

  • @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

  • @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........

  • @preetipandey7055
    @preetipandey7055 5 лет назад +1

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

  • @irfansheikh9063
    @irfansheikh9063 5 лет назад +1

    Nicely explained! Thanks a lot!

  • @Satvikshukla0007
    @Satvikshukla0007 4 года назад +1

    best video on internet for recoverability.

  • @nikitasinha8181
    @nikitasinha8181 4 года назад +1

    Thank u so much sir

  • @mariabatool140
    @mariabatool140 4 года назад

    Excellent Teaching Method...

  • @anand__mishra
    @anand__mishra 6 лет назад +1

    very very nice explanation...thank you sir

  • @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 ❤️

  • @viveknishad4993
    @viveknishad4993 6 лет назад +12

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

  • @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 🤔🤔🤔

  • @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😍

  • @rajeshgurjar1310
    @rajeshgurjar1310 5 лет назад

    Really amazing explaination sir,thanku very much!

  • @abhinavmathur6072
    @abhinavmathur6072 4 года назад +5

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

  • @sohomdey51
    @sohomdey51 5 лет назад +2

    Thanks a lot🖤

  • @shubhamkawde9125
    @shubhamkawde9125 4 года назад

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

  • @alvinaaslam6569
    @alvinaaslam6569 5 лет назад

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

  • @Sandeepkumar-hf3re
    @Sandeepkumar-hf3re 5 лет назад

    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

  • @prekshasharma1216
    @prekshasharma1216 5 лет назад

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

  • @rupashijain3144
    @rupashijain3144 6 лет назад +2

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

  • @ashutoshgupta434
    @ashutoshgupta434 5 лет назад +2

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

  • @mohammadfaisalkhan4137
    @mohammadfaisalkhan4137 6 лет назад +1

    You are awesome..ek ek point clear krdia

  • @faizanmemon4956
    @faizanmemon4956 5 лет назад +3

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

    • @imprakrut
      @imprakrut 5 лет назад +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.

  • @AkashSharma-lu3dp
    @AkashSharma-lu3dp 4 года назад +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?

  • @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

  • @AyushGupta-ib5qk
    @AyushGupta-ib5qk 6 лет назад +1

    Nice videos! Please post some videos on Query Optimizations

  • @mariabatool140
    @mariabatool140 4 года назад

    Thank You for effective lectuers...

  • @aku_11_11
    @aku_11_11 6 лет назад +1

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

  • @anuragkumargupta7506
    @anuragkumargupta7506 5 лет назад

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

  • @Mr767267
    @Mr767267 5 лет назад +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 4 года назад +1

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

  • @dhirajpatidar8675
    @dhirajpatidar8675 5 лет назад

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

  • @narendraparmar1631
    @narendraparmar1631 6 лет назад +1

    Dhanyavad sir ji😆

  • @anahataghosh9204
    @anahataghosh9204 3 года назад +1

    thank you sir.. That is all I can say

  • @awanishyadav9696
    @awanishyadav9696 6 лет назад +2

    Sir all topic Ka vedio ek series me nahi hai

  • @muntakasaleh1433
    @muntakasaleh1433 5 лет назад +2

    This is really helpful.

  • @aakashgokul7207
    @aakashgokul7207 4 года назад +1

    nanni und mwonusey

  • @vinayak186f3
    @vinayak186f3 3 года назад +10

    Thanks for the cheating tips 😬

  • @DURGESHKADAM
    @DURGESHKADAM 6 лет назад +3

    thank you

  • @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 5 лет назад

      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 5 лет назад

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

    • @ankitkumartiwari5278
      @ankitkumartiwari5278 5 лет назад

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

  • @Lost_poetry_029
    @Lost_poetry_029 4 года назад

    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 4 года назад

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

  • @pavanvemuri6352
    @pavanvemuri6352 5 лет назад +1

    :/ no english videos on this topic?

  • @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.

  • @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

  • @shajilav385
    @shajilav385 6 лет назад +1

    Tank u sir. U r grt

  • @simranjeetkaur-fr6pu
    @simranjeetkaur-fr6pu 6 лет назад +1

    sir if i done ur videos is it enough?

  • @gauravyadav6904
    @gauravyadav6904 4 года назад +1

    thank you sirr :)

  • @arvindkondeti4627
    @arvindkondeti4627 6 лет назад +2

    example was good..

  • @RaviSingh-yf6jd
    @RaviSingh-yf6jd 5 лет назад +1

    Thanks sir but also upload Artificial Intelligence video's

  • @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

  • @nirmalpatel155
    @nirmalpatel155 5 лет назад +9

    Technical Guruji wants to know your location 00:28

  • @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?

  • @sarojsharma7526
    @sarojsharma7526 5 лет назад +1

    Very nice sir

  • @princeyadav5282
    @princeyadav5282 6 лет назад +1

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

  • @vishalmishra1937
    @vishalmishra1937 6 лет назад +1

    perfect

  • @RaviSingh-yf6jd
    @RaviSingh-yf6jd 6 лет назад

    Thanks Sir

  • @monikajuneja4414
    @monikajuneja4414 6 лет назад +1

    Gud job

  • @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

  • @rajpalmehra2271
    @rajpalmehra2271 3 года назад

    Thnx u soo much sir......

  • @ci.se.purpose4844
    @ci.se.purpose4844 10 месяцев назад

    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 10 месяцев назад

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

    • @ci.se.purpose4844
      @ci.se.purpose4844 10 месяцев назад

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

  • @April-wf1wh
    @April-wf1wh 3 года назад

    7:02....🙌🙌

  • @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.

  • @Dgytruuv
    @Dgytruuv 6 лет назад +2

    Sir DBMS kb tk complete hoga??

  • @abhishekprasad9276
    @abhishekprasad9276 4 года назад +1

    Dirty read bhi to yahi tha🙄🙄🙄🙄

  • @malayagr
    @malayagr 3 года назад

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

  • @vinayaksharma-ys3ip
    @vinayaksharma-ys3ip 2 года назад +1

    💯💯💯👍

  • @sankalpietechtips
    @sankalpietechtips Год назад +1

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

  • @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..

  • @allsorted9976
    @allsorted9976 5 месяцев назад

    awesome lecture

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  5 месяцев назад

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

  • @Ankit-we8ym
    @Ankit-we8ym 6 лет назад +1

    waiting for coming videos sir

  • @anuradhawithanage9861
    @anuradhawithanage9861 4 года назад +1

    Sir can you please upload English video on this topic

  • @vandanaludhani7237
    @vandanaludhani7237 5 лет назад +1

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

  • @shashiram9889
    @shashiram9889 4 года назад +2

    arigato

  • @girmaasefa5600
    @girmaasefa5600 5 лет назад +1

    please Sir Use English

  • @muneebzubair5069
    @muneebzubair5069 5 лет назад +1

    Love from Pakistan

  • @anjali9665
    @anjali9665 2 года назад +1

    Non recoverable schedule's example 🤣🤣

  • @ashabrintha9536
    @ashabrintha9536 2 года назад

    Speak in english

  • @simransingh6137
    @simransingh6137 2 года назад +1

    Thank you sir

    • @KNOWLEDGEGATE_kg
      @KNOWLEDGEGATE_kg  2 года назад

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