SQL Index |¦| Indexes in SQL |¦| Database Index

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

КОМЕНТАРІ • 1 тис.

  • @Socratica
    @Socratica  5 років тому +267

    It's official! The Socratica Python Kickstarter was a success! Thank you to all of our supporters. Because of you, many more Python videos coming soon!! 💜🦉

    • @papunmohanty5968
      @papunmohanty5968 5 років тому +2

      Thanks for all great videos...
      Your explanations are simple and awesome :)

    • @setudutta3905
      @setudutta3905 5 років тому +1

      You guys are amazing, the quality of videos and the actress in the video is at par with a professional TV show or a movie. Excellent explanation as well !!!

    • @philpeko1796
      @philpeko1796 4 роки тому +1

      😱👍⚡Socratica, you nailed it! This is the SQL course I recommend every day to SQL beginners. 🎇💥🎆🖐👍🖖🤘

    • @maheshtambe9535
      @maheshtambe9535 4 роки тому

      Wish you the best. You are awesome.

    • @mohammadsohelkhan7996
      @mohammadsohelkhan7996 3 роки тому

      Please continue SQL video series with more SQL concepts. Big fan :)

  • @robertl30
    @robertl30 5 років тому +950

    I thoroughly enjoyed the 596,000 ms spent watching this video.

    • @enamh89
      @enamh89 3 роки тому +14

      The hardship is impossible to put into words...

    • @unjordi
      @unjordi 3 роки тому +2

      But it lasts over 900000!

    • @mcmaddie
      @mcmaddie 3 роки тому +1

      You might want to re-check that.

    • @ahmeda8201
      @ahmeda8201 3 роки тому +1

      956,000 ms i guess

    • @thisisgangadhar
      @thisisgangadhar 3 роки тому

      @@ahmeda8201 nope 596000k

  • @microsteps211
    @microsteps211 4 роки тому +344

    She deserves an Emmy's for the quality content production. Fantastic scripts, visual and sound effects, and best actress. Love the (7-min) interlude of classical music, hilarious you. Totally loving this! Thank you Socratica, you really are awesome and indispensable!

    • @hadibq
      @hadibq Рік тому

      Same here about the 7min 😄

    • @caio-jl6qw
      @caio-jl6qw Рік тому

      Totally agree... I just love the contents this channel puts out

    • @nwokolobueze7291
      @nwokolobueze7291 9 місяців тому

      what was the name of the prelude, shazam could not find it.

  • @CristhianDalmazzo
    @CristhianDalmazzo 3 роки тому +94

    Whoever writes these scripts deserves an award. As well as this lady for delivering the lines perfectly and giving this great performance. Education and entertainment at it's best.

  • @joncrosby1
    @joncrosby1 2 роки тому +68

    I have 20+ years in data analytics and IT and this is one of the best videos on indexes I have found. Thank you for making this so educational and fun at the same time! I'm excited to check out your python channel next!

    • @Socratica
      @Socratica  2 роки тому +4

      Thank you for your kind message! We're so glad you've found us!! 💜🦉

    • @salence99
      @salence99 2 роки тому +4

      Could't agree more. Fantastic

    • @suryas5609
      @suryas5609 Рік тому

      @joncrosby1, Since you have 20+ years of experience, could you please guide me how to get a job in this field? I am a Computer Science graduate and want to go to Data Analytics (I dont want to be a hard core programming developer). I have learnt SQL, Basics of Python and Data Visualization tools like Tableau and also made some dashboard to learn properly.
      I need your advise on how to apply for data analytics job. Should I learn any more skills? like data warehousing or cloud? Please let me know.
      Thank you in Advance!

  • @TheJupiteL
    @TheJupiteL 4 роки тому +112

    Maaan, I graduated college 3 years ago, learning from all kinds of tutors and lecturers, but never like crazy Cyber Doctor here. I feel scared, and educated

    • @smoothbeak
      @smoothbeak 3 роки тому +1

      Haha, "crazy cyber doctor"!

  • @benjiviews4300
    @benjiviews4300 5 років тому +205

    You just made databases interesting, and 10 mins ago I never even realised what an index was!

  • @rajatsaha891
    @rajatsaha891 4 роки тому +170

    This couldn't be easier, crisper and more interesting. Simply enjoyable!!

  • @parsonsmarcus
    @parsonsmarcus 3 роки тому +39

    As Ulka said at the end of this video, use indexes wisely! A general rule of thumb for indexes is that adding indexes to a table will speed up selects (that are constructed correctly) and slow down inserts/updates/deletes because whatever SQL system you use has to rebuild those indexes if a modifying transaction occurs.

  • @giseleshuri9469
    @giseleshuri9469 4 роки тому +196

    i just love this lady a lot.

  • @roelandriemens
    @roelandriemens 5 років тому +509

    I remember a query that ran over six hours. Ever month again year after year. One day I checked the output and that query had run only a few minutes. I asked a colleague if there was a problem. She said 'O, i created an index.....'

    • @Bargains20xx
      @Bargains20xx 5 років тому +26

      haha nice learning experience

    • @spmegaman1
      @spmegaman1 4 роки тому +3

      Hahaha that's brilliant 😂

    • @CrazyBenlols13
      @CrazyBenlols13 4 роки тому +4

      How many entries and coloumns did the tables in the database had ? 6 hours seem crazy.

    • @googdriveforme4115
      @googdriveforme4115 4 роки тому +3

      It took an year to get a solution for a slow running query.. ? 😂

    • @diegoguisasola3858
      @diegoguisasola3858 3 роки тому

      @@googdriveforme4115 we wasn't looking for one lol

  • @jameskeogh9452
    @jameskeogh9452 5 років тому +81

    At last, I can understand mySql. Explained perfectly in a way my brain can comprehend.
    I will definitely be donating to keep you guys going. Thank you so much.

  • @racheltindoy
    @racheltindoy 5 років тому +10

    I love the enthusiasm, robotic fast (not boring) narration, clear and practical examples, and the visualization! Definitely subscribing!

  • @rosenph
    @rosenph 2 роки тому +6

    Unbelievable! The best SQL tutorial I have ever watched. It couldn't be shorter and clearer. I bet even a child or even my grandmother could be able to understand it.

  • @H1TMANactual
    @H1TMANactual 3 роки тому +9

    I can't believe a video on sql has quarter million views. That speaks to the quality of this video

  • @abhishekdas2512
    @abhishekdas2512 4 роки тому +11

    This is the channel I ve been waiting for long time. Thanks UA-cam algorithm.

  • @johnhillescobar
    @johnhillescobar 5 років тому +6

    Love the comedic way you use to teach. Please, do not stop doing it!!

  • @piyh3962
    @piyh3962 5 років тому +5

    I'm a professional that spends all day querying and this is the first video that explained it concisely

  • @dhananjaywadhavane4106
    @dhananjaywadhavane4106 4 роки тому +26

    10 min ago I never thought learning can be funny and interesting at this awesome level. Good job.

  • @asdfkjhlk34
    @asdfkjhlk34 5 років тому +5

    This is the best coding channel I HAVE EVER SEEN!!!!!!!!!!!

  • @Akopyan
    @Akopyan 5 років тому +10

    I can't believe i watched the video. i learned something. and totally enjoyed every second of it.

  • @blackwhite2361
    @blackwhite2361 3 роки тому

    The reason why this channel hasn't hit a million yet beats me. It should have 10 million subs. The lady is very entertaining

  • @morsheddld
    @morsheddld 5 років тому +25

    wow! This video worth a lot.
    B4 watching this i never knew index is this essential for faster performance. Well explained. Keep uploading such Videos. Animation were superb to understand quickly. God bless u.

  • @antoinebguitar2869
    @antoinebguitar2869 8 місяців тому

    ur such a life saver, i often dont understand immediately in class but those videos make me understand almost immediately, thats quality, appreciate it, wish ppl always invested this much time in teaching

  • @InsomniaCast
    @InsomniaCast 4 роки тому +4

    I found this UA-cam channel some time ago when I was first learning python and have been laughing ever since. I learn a good deal of important information here about methods/functions I thought I knew already. Its fun and informative and I hope you continue to educate me in this most hilarious fashion.

  • @abhishekpaul6094
    @abhishekpaul6094 Рік тому +2

    Great video! One tip: Adding indexes to a table will speed up select commands but will also slow down other commands like insert/update/delete because the SQL server has to reconsider the indexes if any kind of modifying transaction occurs in the future.

  • @travischaplin6272
    @travischaplin6272 3 роки тому +5

    This was fantastic. Hands down the best online lessons I've watched.

  • @AndrewKlem
    @AndrewKlem 8 місяців тому

    Incredible. I've spent seven hours over the past two days refreshing myself on database concepts and filling in gaps and this was my favorite 10 minutes of those seven hours by a factor of 100 billion.

  • @yg713
    @yg713 3 роки тому +4

    I learned what I needed and laughed at the same time I was learning. Thank you for adding a lot of production value to the lesson.

  • @chevalier5691
    @chevalier5691 5 років тому +1

    I, hereby declare that Socratica is the obvious front-runner for the first channel to reach 100 billion subs.

  • @ameyapatil1139
    @ameyapatil1139 3 роки тому +3

    Ita amazing how something can be made informational and enjoyable both at the same time !

  • @christopherpink842
    @christopherpink842 2 роки тому +1

    WHAT A BLAST!!!!! I watched the whole tutorial, took notes I was literally hooked learnt a lot felt like watching a movie, the production and creation of this course is PRICELESS THANK YOU , wish there was a JavaScript course like this

  • @aurelitojunio7795
    @aurelitojunio7795 5 років тому +7

    Wow, one of the best explanations I've ever seen. Congrats!

  • @hamzasaleem6154
    @hamzasaleem6154 4 роки тому +4

    This is absolutely a fantastic video , I am subscribing
    This channel deserves number of subscribers that even the indexing will take time to count

  • @godwinshaibu6328
    @godwinshaibu6328 Рік тому

    I don't think any educational material has been as entertaining as this playlist I just watched... It's mind blowing!... Totally the best investment of my time!

  • @AzfarRizvi
    @AzfarRizvi 4 роки тому +12

    "The hardship is impossible to put in words." 😍

  • @TheGrizzlyKnight
    @TheGrizzlyKnight Рік тому

    WOW My jaw is on the floor at how amazing this video is! Quality, tone and speed of voice is on point. Explanations are well thought out and provide all necessary context to comprehend. Video/Audio editing is perfect with just enough to keep it interesting and remove distractions.

  • @sadowizzy1105
    @sadowizzy1105 5 років тому +4

    Must Amazing SQL Tutorial ... You Deserve More Than A Billion Subscribers

  • @darrenleonard
    @darrenleonard 3 роки тому +1

    This was great thanks! Just had a query that was taking 2 minutes to execute. I added in about 9 indexes and it now runs in 2 seconds. Gamechanger!

  • @SteinGauslaaStrindhaug
    @SteinGauslaaStrindhaug 5 років тому +15

    Love how you're insisting on reading out all times in milliseconds like a programmer, even though the GUI already has converted it into more human digestible seconds and ms.

    • @FeLiNe418
      @FeLiNe418 5 років тому +2

      It's to make it sounds that it really takes a lot of time because 4000 is bigger than 4.

  • @SanamSindhooShaikh
    @SanamSindhooShaikh 4 роки тому

    you have no idea, how much you have helped me.. i have no words to say thanks .. it changed my whole DB speed .. thanks million ..

  • @vero0992
    @vero0992 5 років тому +3

    Fantastic. I'm slightly familiar with SQL because I only very occasionally need to have certain data pulled by our DBAs. Very cool @ 7:25 - I had that question. Thanks Socratica.

  • @obedmireku3137
    @obedmireku3137 2 роки тому

    This lady is on another level. You have taken UA-cam to another level

  • @RockitMan-ey8tx
    @RockitMan-ey8tx 5 років тому +8

    I love this series. Keep up the great work!

  • @willgeo
    @willgeo 4 роки тому +1

    I have never seen anyone make sql this interesting, am literally watching things i already know and use almost on a daily, but literary enjoying each and video.

    • @Socratica
      @Socratica  4 роки тому

      You have no idea how happy this makes us! 💜🦉

  • @bablobko
    @bablobko 5 років тому +13

    Just fell in love with you after hearing your laughter.

  • @menglin7432
    @menglin7432 6 місяців тому

    Gotta say this is the clearest examples I've ever seen

  • @avinash7154
    @avinash7154 5 років тому +3

    woooow really interesting and the way of her teaching and animation was awesomee....upload more videos on sql ,clear explanation ........congrats

  • @Elitea20
    @Elitea20 5 років тому +2

    Yes finally a decent video that is in English and understandable for human beings

  • @adarsh902
    @adarsh902 5 років тому +4

    I really appreciate the effort you've put in the background sounds nd editing thereby making it very interesting.

  • @iosifpuha6114
    @iosifpuha6114 Рік тому

    This is one of the best computer science videos I've seen in my career (I'm final year 2 at uni) and whole life also, you rock!

  • @jorjiang1
    @jorjiang1 5 років тому +22

    one day machine will talk like human, human like machine

  • @arpitmahadule5501
    @arpitmahadule5501 4 роки тому +2

    The way teach or explain, Its best.
    Concepts just penetrate into mind.
    Took me 4050ms to write this😂😂

  • @woolfel
    @woolfel 5 років тому +4

    You should show query planner to illustrate how RDBMS determines which query plan to use. I'm guess that is already on your list of things to cover. After that, you should cover lock escalation under concurrent load where you have a mix of reads/writes on the same table. Then for the advanced SQL indexing concepts, compare b-tree versus bitmap indexes. If you get to report queries materialized views versus dynamic views for complex multi-dimensional queries :)

  • @waitwhat7164
    @waitwhat7164 Рік тому

    Straight to the point unlike other tutorials. I only needed the concept really..

  • @koungmeng
    @koungmeng 5 років тому +56

    all in RAM

  • @TauriMarie
    @TauriMarie 3 роки тому +1

    I've been looking for a tutorial for days that solves all the doubts I had before starting to use indexes, and this one definitely succeeded. Thank you very much! A fairly complete and well explained explanation!

  • @bndissanayaka
    @bndissanayaka 4 роки тому +7

    "The hardship is impossible to put in to words!!!" 🤣🤣

  • @sempribo
    @sempribo 3 роки тому

    The professors at our university can learn a lot about teaching from you! This was awesome

  • @sachunjyo
    @sachunjyo 4 роки тому +6

    Fantastic job girl... Well explained... We learn the most when we are having fun... And you have successfully turned SQL into fun.... Love the craziness

  • @DavidBranson42
    @DavidBranson42 Рік тому

    First, I really think these videos do a great job of teaching their lessons. Second, I really appreciate your commitment to the bit.

  • @STIVESification
    @STIVESification 5 років тому +15

    Could you please tell the Socratica to make new series of topology, or any high math

  • @sorosw2980
    @sorosw2980 3 роки тому

    Have to say that this is the only video I have seen that makes SQL seems fun to learn. Thank you!

  • @DARKCOP2011
    @DARKCOP2011 5 років тому +13

    what about :
    SELECT COUNT(*)
    FROM person
    WHERE last_name = 'Mohanty',
    AND first_name = 'Ulka';
    Result: ONE! and only ONE!
    Messages: Successfully run. We found the best teacher in earth and mars! Total query runtime: 0 msec.

  • @MelancholyMadoka
    @MelancholyMadoka 3 роки тому +1

    Did not expect this level of enthusiasm; not a complaint.

  • @oliverkaunds
    @oliverkaunds 4 роки тому +4

    Thank you for such an amazing explanation. I have one question though, the index you created was that a clustered index or a non-clustered one?

  • @pale_green_telephones4346
    @pale_green_telephones4346 3 роки тому

    My SQL professor's professional bias leads him to gloss over basics and assume we know them. Your videos are fantastically helpful. If I could portion off some of my tuition to you, i would.

  • @edvzig
    @edvzig 5 років тому +3

    Extremely helpful video, thanks

  • @ashwinpande7095
    @ashwinpande7095 2 роки тому

    Best tutorial series on SQL
    HANDS. DOWN.

  • @iTurkiQ
    @iTurkiQ 5 років тому +8

    One of the greatest explanations I've ever seen! Well done!
    Anybody knows the name of the piano music? 8:11

    • @oliviergobet9408
      @oliviergobet9408 4 роки тому

      "Quasi una fantasia" (Moonlight Sonata) by Beethoven

  • @_Alpha8
    @_Alpha8 3 роки тому

    lovely and smart...mindblowing... one semester of SQL just done... . i loved it !!!

  • @fredericksandalo8909
    @fredericksandalo8909 Рік тому +1

    amazing.... she can teach me SQL all the time any time every single time.

  • @priscillaamorim88
    @priscillaamorim88 5 років тому +3

    Great video! How can I check if a database has index before running a query?

    • @robertl30
      @robertl30 5 років тому

      sp_helpindex Person.

  • @josuemedia
    @josuemedia 5 років тому +1

    The level of sarcasm is just the right amount and amusing! Keep up the great work :)

  • @shawntv7130
    @shawntv7130 5 років тому +4

    The typing effects music makes me feel like I'm in a game.

  • @simplesql1408
    @simplesql1408 2 роки тому

    I always think of this video when I create a clustered index. This tutorial very plainly outlines the benefits of indexes and how they can speed up our queries. Thank you!

  • @shortcutDJ
    @shortcutDJ 5 років тому +6

    these are the best tutorials because they short and sweet just like my stamina in bed.

  • @narendranomprakash7984
    @narendranomprakash7984 2 роки тому

    This was one of the most fun tutorials I have watched in my life.

  • @maciejk125
    @maciejk125 5 років тому +4

    I dont know how you do it, but i watch this for entertainment.

  • @michalkubecka9045
    @michalkubecka9045 Рік тому

    This is quite a goofy video but at the end I learned everything I needed unlike from watching other videos on this topic by different content creators. Thank you for such a great video.

  • @spwim
    @spwim 4 роки тому +5

    did anybody else feel like yelling : "FIRE THE LASSEEEEERRRR"

    • @oliverkaunds
      @oliverkaunds 4 роки тому

      She is Dr. Evil's daughter 😂

  • @davidconnelly
    @davidconnelly 2 роки тому

    26 years in web development and I've never found a video tutorial, book or talk that explains what's happening under the hood when table indexes are created and used. That was a great video but the mystery continues. Does anybody out there have a clue what's going on under the hood with table indexes? PS, thanks for the video. It was really good.

  • @ezadviper
    @ezadviper 5 років тому +4

    9:34 I can hear somebody BTS snickers ...

  • @Anna36936
    @Anna36936 2 роки тому

    This playlist was GLORIOUS. Thank you!!!

  • @the-mush
    @the-mush 5 років тому +14

    "Indexes"?? Ok, we declare war on Mars for despicable crimes against human language. Your sins would not go unpunished.

    • @MrBlastZone3000
      @MrBlastZone3000 4 роки тому +1

      grammarist.com/usage/indexes-indices/ Although you are right that it is used in the wrong context, it is not incorrect to say "indexes".

  • @architadesai7876
    @architadesai7876 4 роки тому +1

    She couldn't get more informative, entertaining and funny and interesting!
    Although still she does in her other videos!

  • @kirbymarchbarcena
    @kirbymarchbarcena 5 років тому +5

    Oh, that laugh @0:07!

    • @Nsuidara
      @Nsuidara 5 років тому +2

      or 9:29 xD

    • @kirbymarchbarcena
      @kirbymarchbarcena 5 років тому

      @@Nsuidara Oh,yeah, forgot that one which not even Rita Repulsa can do better.

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

    Indians produce top quality products and works , she deserves Million subscribers

  • @ashishghadoje3604
    @ashishghadoje3604 2 роки тому

    I first encountered your videos when I was learning python in the beginning of pandemic lockdown. The python videos are sarcastic and engaging. Thank you.

  • @Jim202030
    @Jim202030 Рік тому

    I know most of this stuff already but I just love watching these videos. It reminds me off watching documentaries from the 90s back when tv was nice.

  • @jelulululu
    @jelulululu 2 місяці тому

    i watched two other vids on indexing but finally understood from this, very clear and linear flow of explanation . thanks

  • @noecuyuch2388
    @noecuyuch2388 2 роки тому +1

    Now this is quality content! The balance between learning and entertainment is awesome. Thank you!

  • @alen7717
    @alen7717 7 місяців тому

    tomorrow I have an interview and it is the best video i could find for indexing.
    thank you so much :)

  • @adityaj950
    @adityaj950 3 роки тому

    She deserves an award for the crisp explanation and the performance :D

  • @mindfree198
    @mindfree198 3 роки тому

    I have never learned anything so quickly in my life. Awesome Video.

    • @Socratica
      @Socratica  3 роки тому

      This was the best compliment we could ever get. THANK YOU!! This really inspires us to make more videos. 💜🦉

  • @MuscleManMuscleMan999
    @MuscleManMuscleMan999 11 місяців тому +1

    9:22 100% deserve the 100 billion subscribers

  • @abdiwahabadan4722
    @abdiwahabadan4722 4 роки тому

    THIS is amazing work of serving humanity sister thank you i appreciate your work from @somalia

  • @Shah_Okay
    @Shah_Okay 3 роки тому

    First time I watched...this lady killed me with her technique, presentation and the way of teaching. Wow 👏😮

  • @Sergeespaillat
    @Sergeespaillat 5 років тому +1

    Your videos help me understand farrr better than my professors. Thank you so much for all you do!

  • @ginetworx
    @ginetworx 3 роки тому +1

    Cool video, found it randomly :) Just to add: Too much indexes on a table can make INSERT-operations slow. And: Indexes need to be reorganized periodically as they get fragmented when new data is inderted into the table.