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

Поділитися
Вставка
  • Опубліковано 4 січ 2025

КОМЕНТАРІ • 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 років тому +954

    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 роки тому +345

    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 10 місяців тому

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

    • @hridishaarif7248
      @hridishaarif7248 26 днів тому

      @@nwokolobueze7291 following omg

  • @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 роки тому +113

    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"!

  • @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.

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

    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!!

  • @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 років тому +82

    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!

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

    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.

  • @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.

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

    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

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

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

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

    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.

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

    i just love this lady a lot.

  • @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!

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

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

  • @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.

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

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

  • @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.

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

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

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

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

  • @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 ..

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

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

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

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

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

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

  • @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!

  • @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.

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

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

  • @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

  • @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

  • @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.

  • @darrenleonard
    @darrenleonard 4 роки тому +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!

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

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

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

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

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

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

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

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

  • @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.

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

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

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

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

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

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

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

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

  • @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.

  • @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.

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

    The best sql lesson not like other dumb channels who always deliver the content in a non entertaining way which makes me soo bored sometimes I feel like i couldn't pay any intrest anymore. But with your channel that's not the case am freaking enjoying this a lot please keep doing videos on sql and database related stuff it will be so much helpful for me. And the lady who presented the video is exceptional and the video editings are soo good man and now I discovered what am been searching for for months thank you so much guys

  • @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

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

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

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

    I love this series. Keep up the great work!

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

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

  • @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.

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

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

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

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

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

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

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

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

  • @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

  • @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.

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

    Just fell in love with you after hearing your laughter.

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

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

  • @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.

  • @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.

  • @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 :)

  • @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! 💜🦉

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

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

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

    when you keep my attention in 4 AM, you better be sure you are doing your job GREAT! Subscribed

  • @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!

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

    Extremely helpful video, thanks

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

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

  • @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.

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

    This playlist was GLORIOUS. Thank you!!!

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

    one day machine will talk like human, human like machine

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

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

  • @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

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

    High quality content, I actually learned something on UA-cam video. Solid work, comparison, examples. And I love that John Williams easter egg

  • @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?

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

    First video on 'Indexes' I watched, and I completely get it.
    Thanks a whole lot!

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

    all in RAM

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

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

  • @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.

  • @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.

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

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

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

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

  • @datanerden1057
    @datanerden1057 11 місяців тому

    This is the most entertaining video about something so mundane as SQL indexing! 😆

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

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

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

    Never seen this easy explanation. I really thank you for this. Keep going!!

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

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

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

      She is Dr. Evil's daughter 😂

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

    Omg, this channel...
    The songs, wallpapers, environment, I just loved it!
    Congratulations.

  • @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".

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

    Your laugh like a Dr.Evil is very exciting. I understand all profit of indexes perfectly!👌

  • @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.

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

    love the content with the sense of humor, brings light to a boring subject

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

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

  • @jkk23-g7c
    @jkk23-g7c 2 роки тому

    Holy cow, this intro is just fire. Really impressed

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

    Fab💥
    I have never seen any teaching video like this. Very informative and creative.
    Thank You❤

  • @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. 💜🦉

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

    overly simplified and ideal way to explain Indexing. Thank you so much

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

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