Data Performance Tips with Django

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

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

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

    Does repo with code exists?

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

    Amazing content. Getting dizzy from the fast navigation. Needed to slow it down to get all the goodness.

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

    Why when we used offset we will scan up to the offset and take the limit number of record specified after that , why dbms just cash the page Id that last time scaned and continue from that point?

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

      And vacuum is for fragmentation , to compact the pages inside the database ,because of dead tuples ,

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

      offset is defined as skipping N record, and implemented by index scan rather than range scan. That is: the whole index is scanned to find Nth record, then skip them. It's by design since the use case for offset is to offload the SQL client load by returning "useful" result.
      Caching will not work since skipping imply Nth record is indeterminate until query time.
      e.g if you paginate 10 record each, go to page 4 (31th -> 40), and delete one record. Each page after that will technically have off-by-one error since the offset was shifted.

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

    This is what have been waiting. Please can you work for a tutorial that make a simple app or website?. Show the simple process of code in the IDE and save the source file to produce the final product. Just a prototype between I will say thank you😊

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

    thank you for tips , its really help a lot , some of things i was aware but material view that's really interesting

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

    Thank you for wonderful webinar. It helps me a lot.

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

      You're most welcome!

  • @luigikart11
    @luigikart11 3 ปีที่แล้ว +4

    Nice and simple explanation so thank you so much for that, but VIM people seriously drive me crazy with all the keyboard messing around they do 😅

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

      It's all about efficiency. Here's the proof: th-cam.com/video/9n1dtmzqnCU/w-d-xo.html (as a VIM user myself, I can confirm this is 100% accurate)

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

      @@watman14 I’m not against efficiency, nor vim, but I think efficiency means minimizing waste and there just seemed to be a lot of unnecessary, idiosyncratic VIM fiddling going on

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

      @@luigikart11 I was being sarcastic (not about being a VIM user), perhaps that didn't come across in the comment (check out the link if you haven't already).

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

      @@watman14 sorry! missed that :P

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

      @@luigikart11 No problem, it's probably my comment not coming across as intended!