14 - Query Planning & Optimization I (CMU Databases Systems / Fall 2019)

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

КОМЕНТАРІ • 17

  • @Max-my6rk
    @Max-my6rk 4 роки тому +16

    still shock a db prof can be this cool... gosh..

  • @春华秋实-f8o
    @春华秋实-f8o 5 років тому +11

    Miss the DJ

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

    How is the WHERE part of the the query in 53:56 a satisfiability problem ?

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

      A few seconds later, Andy told that it is not. It just need a heuristic.

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

    what's that font used in the slides? looks cool!

  • @420_gunna
    @420_gunna 4 роки тому +4

    57:50 got their ass

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

    missing notes - 15445.courses.cs.cmu.edu/fall2019/notes/14-optimization1.pdf

  • @NaderHGhanbari
    @NaderHGhanbari 2 роки тому

    @51:55 Postgres could not infer actor_id IS NULL is always false but why doesn’t the query plan take advantage of the primary key index? In other words why isn’t it doing an index scan?

    • @Keith_Zhu
      @Keith_Zhu 2 роки тому

      I think maybe index cannot help with this. How can an index compare NULL?

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

    @Andy Pavlo w.r.t to the slide at 26:16 can I write the query in a different way so that resulting tree is like the right tree, to begin with?
    Or should I assume that this is a compiler optimization and for the most part beyond my control?

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

      You can create a temp table by projecting from second table and then use temp table in final query to join with first table.

  • @vlog7976
    @vlog7976 3 роки тому +1

    Why did he say the method used in MongoDB is super simple and works well? It sounds like an exhaustive method.

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

    I was thinking why the voice was not clear as previous videos then he found out he didn't wear a mic

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

    Any idea where the study guide he mentions is on the course website? Slides are great study material in and of themselves, but would love to see the study guide.

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

      Are you asking about the lecture notes or the mid-term guide? The lecture notes are in the video description + course schedule: 15445.courses.cs.cmu.edu/fall2019/schedule.html
      The mid-term guide is only relevant to CMU students (location, time, what they are allowed to bring to the exam).

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

      @@andypavlo Ah, was asking about the mid-term guide. Thought it might have summarized the notes from the previous lectures in a single document. Thanks, Andy!

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

    the demo time is always boring