Massively Speed-Up SQL Queries with Indexes

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ต.ค. 2024
  • In this video, we learn how to massively speed-up SQL database queries using indexes and how to measure the improvement with Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/

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

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

    Mathematically speaking indexes reduce searches by a logarithmic factor. Logs grow very slowly especially for large numbers. For example, the log base 10 of million is 6.

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

    Your videos help a lot during project implementation💫

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

    I am inspired by your consistency 🔥🙌

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

    NeuralNilce channel never misses! awesome content!

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

    Wow! in one video you teach how to use a data generator, how to use a database, create a cursor, an index and how to measure time,!
    Only a question, how many indexes can be supported by a database until the access time collapsed?
    Thank you!

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

    Appreciate your tutorial! Immediately actionable advice for a work project 🎉
    Please post a github gist or link to a repo for your demo code. Didn't find this video in vidstream or youtube-tutorials

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

    But what if a new record was added after indexing?
    Would it combine the search results from the index and the remaining data or just skip non-indexed stuff ?

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

      Indexing is made to the column. So when you are adding new records, indexed column adds indexed values. So you do not need to index everytime after new records add. By the way the negative way of indexing is if you index all columns in a table, your inserting time increase

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

      @@sargn9624 Thank you !

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

    Thanks - very useful demo. 👌

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

    Hi! Very cool video. Make a video in the same format about Mongodb and Rust. Please.

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

    Thank you for this very useful video!

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

    Interesting thx a lot

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

    Thank you sir

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

    I need your assistance on something
    Is there a discord channel we could discuss more there?

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

      I offer 1-on-1 training / consulting. You can go to the "Services" section on my website and contact me there. :)

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

      @@NeuralNine alright thanks

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

    Do python backend series

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

    👍🏾👍🏾

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

    first