You’re Probably Doing Pagination Wrong

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

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

  • @cheo-studio
    @cheo-studio 2 หลายเดือนก่อน +1

    Incredibly useful, thanks a lot.

    • @DatabaseStar
      @DatabaseStar  2 หลายเดือนก่อน +1

      Glad it was helpful!

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

    I enjoyed this. Please make a video on cursor pagination (especially without an auto incrementing column)

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

      Thanks! Great suggestion!

  • @trietdangminh
    @trietdangminh 5 หลายเดือนก่อน +1

    I have a complex JOIN query involving multiple tables. In the ORDER BY clause, I placed four columns from three different tables. I created indexes for these columns, but I'm still experiencing a decrease in performance. Upon examining the EXPLAIN output, I noticed that the indexes I created are being ignored, and a sequential scan is being performed instead. I suspect that the issue may be related to ordering by multiple columns from different tables. It would be appreciated if you could create a video addressing this topic.

    • @DatabaseStar
      @DatabaseStar  5 หลายเดือนก่อน

      Good idea for a video. Do you know where the expensive steps are? I mean, is it the retrieval of data from the tables or the order by or something else? Perhaps indexes on the columns being joined on could help improve performance - if you haven’t already done that!

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

    Really appreciate your advice, thank you very much for the time you spend doing those videos. It help me so much optimizing some databases I have.
    Best regards from the Dominican Republic

    • @DatabaseStar
      @DatabaseStar  ปีที่แล้ว

      You're welcome! I'm glad you like the videos.

  • @Dipubuet
    @Dipubuet 9 หลายเดือนก่อน +1

    Wow! This is really tricky!
    Thank you very much for the video!

    • @DatabaseStar
      @DatabaseStar  9 หลายเดือนก่อน

      You’re welcome!

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

    Writing this before watching: The way ive done pagination is theough LIMIT and OFFSET - Limit is set to number of results returned to page, Offset is number of results * current page number

    • @DatabaseStar
      @DatabaseStar  ปีที่แล้ว

      Yeah, that's the way I usually do it and what's mentioned in the video.

    • @haydenmaines5905
      @haydenmaines5905 ปีที่แล้ว

      @@DatabaseStar always nice to see I'm on the right track! :)

  • @invalidred
    @invalidred 8 หลายเดือนก่อน

    Love your explanation style. Subscribed!

    • @DatabaseStar
      @DatabaseStar  8 หลายเดือนก่อน

      Thanks, glad you liked it!

  • @paressh
    @paressh ปีที่แล้ว

    Hi Friend,
    I need help with Oracle database installation in Intel MacBook Pro.
    I'm trying with Docker.
    I'm already Microsoft SQL using Docker.
    I have difficulty changing Oracle 23c XE password and Database login details.
    I don't know where I can find these.
    Please help me

    • @DatabaseStar
      @DatabaseStar  ปีที่แล้ว

      Hi, the login details for the docker image should be on the page that you downloaded the image from. I assume it's on the Oracle container registry. I haven't used this because I don't have an Intel MacBook (I have an M1 MacBook so the Docker images don't work for me).

  • @karthiks4347
    @karthiks4347 2 หลายเดือนก่อน

    Good👍

  • @Delicatamente
    @Delicatamente ปีที่แล้ว

    Super!

  • @rahulmittal2983
    @rahulmittal2983 11 หลายเดือนก่อน

    Which application is this?

    • @DatabaseStar
      @DatabaseStar  11 หลายเดือนก่อน

      This is pgAdmin, an SQL editor for Postgres.

  • @chrisl.9750
    @chrisl.9750 11 หลายเดือนก่อน

    it's not dah-tah...
    it's daaay-tah!

    • @DatabaseStar
      @DatabaseStar  11 หลายเดือนก่อน

      Haha yeah I hear that sometimes (pronunciation of the word data)