Postgres scales … when you do this!

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

КОМЕНТАРІ • 34

  • @wembleyleach
    @wembleyleach 5 місяців тому +25

    Yes! Please do a video on partitioning a table with no down time. This recent Postgres series of content has been a goldmine of knowledge that’s either hidden in the docs, or locked in somebody’s head somewhere because they got the experience but never shared it.

    • @Innesb
      @Innesb 5 місяців тому

      It’s worth bearing in mind that it’s not feasible for Supabase to document or teach us about all of these features. They are not Supabase features; they are PostgreSQL features, and PostgreSQL has been around for decades. It’s all documented on the PostgreSQL site, with thousands of tutorials all over the Internet.

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Excellent! Will add it to the list! 👍

  • @FTheohu
    @FTheohu 5 місяців тому +10

    I hope this series never ends.

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Thanks! Glad you’re enjoying the series! 🙌

  • @timondalton8731
    @timondalton8731 Місяць тому

    This series is genuinely the only thing a backend beginner ever needs to work with databases. If this was marketed like a paid course I would pay hundreds of dollars for this whole thing. Can't believe it's free and doesn't even have that many views.

  • @MrZiyak99
    @MrZiyak99 5 місяців тому +5

    you're an underated content creator have learnt a ton about relational dbs from your vids!

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Glad to hear that! What would you like to see next?

  • @mrrolandlawrence
    @mrrolandlawrence 5 місяців тому +2

    table partitioning in postgres is a superpower! handy for datawarehouses too.

    • @JonMeyers
      @JonMeyers 4 місяці тому +1

      Totally! Surprisingly easy to implement for how much this can help the performance of your database!

  • @DetectiveMichealScarn
    @DetectiveMichealScarn 3 місяці тому

    Didn't know this was a thing, awesome video!

  • @tristdrum
    @tristdrum 5 місяців тому +1

    Absolutely brilliant video! So helpful! Definitely going to do this in my Supabase project and am so keen to check out Partman (video on that please!)
    And would love to see how to do it without downtime too!

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Awesome! Will add both of those to the list 👍

  • @luisandrade1291
    @luisandrade1291 5 місяців тому +4

    Please make a video showing how to use pg_partman, every SaaS app would use partitioning if it’s automated.

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Will add it to the list! 👍

  • @lukeocyte444
    @lukeocyte444 5 місяців тому +1

    Very helpful! Thank you

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Glad to hear it! 🙌

  • @eliuddyn
    @eliuddyn 5 місяців тому +2

    Amazing 🔥 I like Supabase 🔥🔥

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Same! Glad you enjoyed the video! 🙌

  • @markh-thai
    @markh-thai 5 місяців тому +1

    Yes… please do a video on partitions and spend a little time explaining how we would use the api call in the likes of Flutterflow.

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Will add it to the list 👍

  • @thibault7190
    @thibault7190 5 місяців тому +1

    When would you recommend to use either index or partition?
    Another great video by the way 😉

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Thanks! Glad you enjoyed it!
      I would say reach for an index pretty early, and then look at partitioning when your indexes slow down, assuming you have easily partitionable data 👍

  • @fabien8876
    @fabien8876 4 місяці тому +1

    How do you update in live your partitions when you have new data (in your people table for example here)?

    • @JonMeyers
      @JonMeyers 4 місяці тому

      You can either create a catch-all partition as “default” or use an extension like pg_partman

  • @takeshikriang
    @takeshikriang 4 місяці тому +1

    The MANGOS LOL

    • @JonMeyers
      @JonMeyers 4 місяці тому

      The best companies!

  • @rahul_ji21
    @rahul_ji21 5 місяців тому +1

    and what about the referenced tables? do they also get automatically partitioned or not

    • @JonMeyers
      @JonMeyers 4 місяці тому

      They do not get automatically partitioned. Usually the referenced table does not grow at the same rate, but you could also partition that table if it gets too big 👍

    • @rahul_ji21
      @rahul_ji21 4 місяці тому

      @@JonMeyers then why dont u guys add this feature where it can partition the referenced table or automatice partition ?
      and yes i saw pgpartman but theres no tutorial or anything on how to use it properly like you do (yes i am a noob programer )

  • @leetkhan
    @leetkhan 4 місяці тому

    Postgres 1
    Supabase 0

    • @JonMeyers
      @JonMeyers 4 місяці тому

      Not sure what that means, but every point for Postgres is also a point for Supabase 🤝