20 - Database Logging Schemes (CMU Databases Systems / Fall 2019)

Поділитися
Вставка
  • Опубліковано 29 вер 2024

КОМЕНТАРІ • 14

  • @春华秋实-f8o
    @春华秋实-f8o 4 роки тому +8

    congratulations and welcome back

  • @AndersonSilva-dg4mg
    @AndersonSilva-dg4mg 4 роки тому +1

    thank you Andy

  • @xiaohutang5666
    @xiaohutang5666 3 роки тому +4

    WAL starts from: 41:34

  • @anarionzuo1425
    @anarionzuo1425 3 роки тому +2

    So is the baby yours?

  • @pb25193
    @pb25193 4 роки тому +3

    Today I realized that DJ DROP TABLE has to be written on all caps, the way you will write it in SQL while deleting tables. Am I right Andy?

    • @andypavlo
      @andypavlo 4 роки тому +4

      Yes

    • @tanzilurrahman1999
      @tanzilurrahman1999 4 роки тому

      @@andypavlo I'd always found it a peculiar DJ name. Makes so much more sense now

  • @mazenezzeddine2188
    @mazenezzeddine2188 4 роки тому +2

    Congratulations! Like Father Like Son. Long live for you all.

  • @cydiater
    @cydiater 2 роки тому +1

    the start is so funny🤣

  • @abdelrhmanahmed1378
    @abdelrhmanahmed1378 Рік тому

    when the changes we made and recorded inside the wal get reflected to the actual pages of the table ?

  • @llersch
    @llersch 4 роки тому +1

    Great lecture :)
    I missed why the combination of No-Steal+No-Force and Steal+Force is not discussed.
    The paper "Principles of Transaction-Oriented Database Recovery" briefly elaborates on them.
    Is it the case that modern systems don't fall in those categories anymore?

    • @AshishNegi1618
      @AshishNegi1618 4 роки тому +4

      In steal + force => multiple concurrent transactions will modify but on commit for each tx, we need to flush. Since we are also flushing uncommitted changes of other txs, to keep track of them, we also note them down (like in WAL).. but then it is double write penalty or amplification. :(
      In no steal + no force => only 1 tx can change a page at a time and on commit we don't flush it => we use WAL for durability => so it is like non concurrent version of steal + no force (WAL) :(
      seems like both are non-optimal versions.

  • @kechenghuang845
    @kechenghuang845 3 роки тому

    are there any possible no-steal+no-force solutions?

  • @papagunit
    @papagunit 4 роки тому +2

    Starts at 3:05