18 - Multi-Version Concurrency Control MVCC (CMU Intro to Database Systems / Fall 2022)

Поділитися
Вставка
  • Опубліковано 7 лис 2022
  • Andy Pavlo (www.cs.cmu.edu/~pavlo/)
    Slides: 15445.courses.cs.cmu.edu/fall...
    Notes: 15445.courses.cs.cmu.edu/fall...
    15-445/645 Intro to Database Systems (Fall 2022)
    Carnegie Mellon University
    15445.courses.cs.cmu.edu/fall...
  • Наука та технологія

КОМЕНТАРІ • 10

  • @nosh3019
    @nosh3019 Рік тому +2

    Great course. Thank u 😊

  • @kalmyk
    @kalmyk Рік тому +4

    great beats intro

  • @yy3617
    @yy3617 Рік тому +5

    50:17 Is there a database called SUBWAY?

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

      I also need to know this!

  • @yitaowang6546
    @yitaowang6546 Рік тому +2

    I am quite confused about the last slide: Every index must support duplicate keys from different snapshots. Does this means our index(i.e, B-Tree) would be enormous to contains serveral version's key. For instance, to ensure correct search from different timestamp, the index needs to store the tuples to find the exact node which brings extra storage overhead.

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

      Let's say transaction 1 inserts a tuple (1, 20) into a table and another transaction inserty a tuple (2, 20) into the table. Let's say the first item is the PK and you create a secondary index on the second item, then you will have two uncommitted itemy from two different transactions on the key 20...

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

      @@meamzcs yes I got the idea of duplicated keys for secondary index. But when thing goes to MultiVersion, will multiple version affect the nodes number?

    • @RyanDaum
      @RyanDaum 8 місяців тому

      Have to GC ("vacuum") the indexes just like the one does the tuples themselves.

  • @nosh3019
    @nosh3019 Рік тому +6

    notes link in description should be 15445.courses.cs.cmu.edu/fall2022/notes/18-multiversioning.pdf instead of pointing to the slides