Database Index Basics | Speed up your queries!

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024

Комментарии • 8

  • @opencitizen
    @opencitizen Год назад

    Complete game changer, thanks so much Chris! I think my background tasks got like x1000 faster... couldn't believe it

  • @himanshu221997
    @himanshu221997 Год назад

    Hi Chris,
    at 03:00 , when you mention that indexing should only be done on the tables which are not frequently updated or edited. Are you referring to the columns or rows or both?
    Also, regarding using simple operators only: would you suggest using an index for a "less than" operator, say in the "date" or "amount" column?

  • @DreamsAPI
    @DreamsAPI Год назад

    Hi @Chris, how about automatically performing normalization of database to adhere to the 5 rules?

    • @nocodebackend
      @nocodebackend  Год назад

      HI there! I apologize, I'm not quite sure what you're going for here. The rules that apply to when you should index aren't really things that would be managed automatically.

    • @DreamsAPI
      @DreamsAPI Год назад

      ​@@nocodebackend I was being interviewed for a role to use Xano as part of a team to build an app, and my lack of understanding of performing database normalization in Xano was the reason that I was not considered for the role. As I researched that concept, I came across tools that would aid in database normalization ie taking in database schemas analyzing and providing new database tables that would adhere to the 5 rules of database normalization. My question was could Xano implement the database normalization techniques to ensure that databases we construct in Xano were well performant since Xano's databases are built using postgresql. Let me know if I could share more with you guys as it would be my pleasure. Keep up the great work, with the new hires only way up is up.

  • @morpheus_-iz5ib
    @morpheus_-iz5ib Год назад

    Hi Chris !
    when new records are added to a database after creating an index, this record is automatically added to the index? or do you have to manually refresh the index?

    • @nocodebackend
      @nocodebackend  Год назад

      The index is automatically maintained; no intervention required on your side.