Master MongoDB Indexing in One Video: Boost Your Database Performance Instantly!

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024
  • 🟡 Get 1 to 1 coaching with me: topmate.io/eng...
    🟡 Donate: paypal.me/engi...
    🟡 Perks: www.youtube.co...
    🔴 Discord: / discord
    🔴 Twitch: / engineeringdigest
    🔴 Personal TH-cam Channel: / @thevipulvats
    🔴 Instagram: / thevipulvats
    🔴 Twitter: / thevipulvats
    🔴 LinkedIn: / thevipulvats
    🔴 Website: engineeringdig...
    🔴 Timestamps
    Intro 0:00

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

  • @EngineeringDigest
    @EngineeringDigest  9 หลายเดือนก่อน +6

    Use this as sample data, it is not the same. But will do the work
    db.teachers.insertMany([
    { "_id": 1, "name": "John Doe", "age": 35, "gender": "male" },
    { "_id": 2, "name": "Jane Smith", "age": 40, "gender": "female" },
    { "_id": 3, "name": "Michael Johnson", "age": 45, "gender": "male" },
    { "_id": 4, "name": "Emily Williams", "age": 30, "gender": "female" },
    { "_id": 5, "name": "Robert Brown", "age": 38, "gender": "male" },
    { "_id": 6, "name": "Emma Jones", "age": 33, "gender": "female" },
    { "_id": 7, "name": "William Davis", "age": 37, "gender": "male" },
    { "_id": 8, "name": "Olivia Miller", "age": 41, "gender": "female" },
    { "_id": 9, "name": "David Wilson", "age": 36, "gender": "male" },
    { "_id": 10, "name": "Sophia Moore", "age": 32, "gender": "female" },
    { "_id": 11, "name": "Richard Taylor", "age": 39, "gender": "male" },
    { "_id": 12, "name": "Isabella Anderson", "age": 43, "gender": "female" },
    { "_id": 13, "name": "Joseph Thomas", "age": 34, "gender": "male" },
    { "_id": 14, "name": "Mia Jackson", "age": 42, "gender": "female" },
    { "_id": 15, "name": "Charles White", "age": 36, "gender": "male" },
    { "_id": 16, "name": "Abigail Harris", "age": 31, "gender": "female" },
    { "_id": 17, "name": "Daniel Martin", "age": 44, "gender": "male" },
    { "_id": 18, "name": "Evelyn Thompson", "age": 38, "gender": "female" },
    { "_id": 19, "name": "Matthew Garcia", "age": 37, "gender": "male" },
    { "_id": 20, "name": "Sofia Martinez", "age": 35, "gender": "female" },
    { "_id": 21, "name": "Andrew Robinson", "age": 40, "gender": "male" },
    { "_id": 22, "name": "Grace Clark", "age": 33, "gender": "female" },
    { "_id": 23, "name": "Joshua Rodriguez", "age": 39, "gender": "male" },
    { "_id": 24, "name": "Avery Lewis", "age": 42, "gender": "female" },
    { "_id": 25, "name": "Christopher Lee", "age": 37, "gender": "male" },
    { "_id": 26, "name": "Chloe Walker", "age": 31, "gender": "female" },
    { "_id": 27, "name": "Kevin Hall", "age": 44, "gender": "male" },
    { "_id": 28, "name": "Zoey Allen", "age": 38, "gender": "female" },
    { "_id": 29, "name": "Brian Young", "age": 36, "gender": "male" },
    { "_id": 30, "name": "Harper King", "age": 34, "gender": "female" }
    ])

  • @alinaeemchaudhry2262
    @alinaeemchaudhry2262 6 หลายเดือนก่อน +6

    Words couldn't appreciate the information which you encapsulated in this short video in an engaging way. Thank you very much!

  • @user-yp7dw3xz3h
    @user-yp7dw3xz3h 6 หลายเดือนก่อน +2

    The best comprehensive video for indexing. Hats off to the person and the methodology he used to explain things.

  • @lovewithcloud
    @lovewithcloud 10 หลายเดือนก่อน +3

    Found this when i was searching for a good mongo indexing video. It was really explained well. Thanks , keep up the good work :)

  • @prabhatpankaj2879
    @prabhatpankaj2879 ปีที่แล้ว +7

    Best teaching style ever. So happy that you utilised every second

  • @devlittlemaster9103
    @devlittlemaster9103 26 วันที่ผ่านมา

    Nice session on indexing. Engineering Digest is complete package to learn Mongodb. Thank you so much to record sessions ❤

  • @764Priya
    @764Priya 4 หลายเดือนก่อน

    One of the best videos i have seen on indexing. Content was so interesting, that i didn't feel bored at all.
    Thank you so much for creating these videos.

  • @vrushabhkhandelwal3674
    @vrushabhkhandelwal3674 11 หลายเดือนก่อน +1

    Wow, this video provides an amazing explanation of MongoDB concepts! 🙌 The way you've broken down and illustrated the key concepts makes it so much easier to grasp. Thanks for sharing this valuable knowledge with us. Keep up the great work! 👏

  • @abdullahbinazeem54
    @abdullahbinazeem54 7 หลายเดือนก่อน +1

    The first 3 minutes of explanation and an instant subscribe

  • @mayur10417
    @mayur10417 4 หลายเดือนก่อน +1

    but why is execution time is more when using index for 1st time
    i have 40k docs and without index it is 30ms and with index for 1st time its 111ms but after 2nd time it is 0ms . and for new query again it is 111ms

  • @AjayKumar-mi2mr
    @AjayKumar-mi2mr ปีที่แล้ว +12

    sir bachpan m kon mongodb seekhta hai 😅

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

      Vo apne bachpan ka bta rhe hai bro😂

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

    Amazing video, Vipul.
    You shared quite a great amount of knowledge in a short time & that too without promoting like and subscribe. You won't need it, people will do it themselves seeing your content. Much thanks!!

  • @awaiskaramat2880
    @awaiskaramat2880 2 วันที่ผ่านมา

    good job brother. beautifully explained!

  • @RavindraSingh-zg9eq
    @RavindraSingh-zg9eq 6 หลายเดือนก่อน

    I have no words to express , its amazing video for indexing , loved the explanation

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

    Gajab padate ho and Gajab baaten b btate ho...kamaal ho aap🙂

  • @chiragsolanki1234
    @chiragsolanki1234 7 หลายเดือนก่อน +1

    Your Teaching Style is Amazing. 🔥🔥🔥🔥🔥🔥🔥🔥

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

    Subscribed within 5 mins of watch time, the audio quality is excellent and the content also

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

    I liked the way you say "Koi dikkat vali baat nhi h"

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

    Thank you for such clear explanation! You earned a subscriber!

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

    linear search jo bachpan me padhte the was epic😅😄

  • @yamin257
    @yamin257 26 วันที่ผ่านมา

    The best mongo series, just wow

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

    Its lovely..everybody makes it complicated..this is as simple as it can get

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

      Thank you brother, it will be a huge help if you can share this course on LinkedIn.

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

      @@EngineeringDigest yes sure..and i would like to ask u one thing...pls include antipatters as examples..like i was a frontend guy..and i struggled with how to design proper mongo schema for my app..nobody talks about real life examples.

  • @raviyadav2552
    @raviyadav2552 7 หลายเดือนก่อน

    I really appreciate your efforts, your tutorial make it so easy to understand mongodb

    • @EngineeringDigest
      @EngineeringDigest  7 หลายเดือนก่อน

      Please consider sharing feedback on LinkedIn. 🙏🏻

    • @raviyadav2552
      @raviyadav2552 7 หลายเดือนก่อน

      sure@@EngineeringDigest

  • @SyedOsama-nn9fw
    @SyedOsama-nn9fw 11 หลายเดือนก่อน

    Excellent Thanku so much bro. It helped me a lot better than mongodb university.❣❣

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

    Best series of mongodb on TH-cam

  • @arslanyounas936
    @arslanyounas936 4 หลายเดือนก่อน

    It was really explained well.

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

    The best tutorial so far!!

  • @aamirhannan890
    @aamirhannan890 7 หลายเดือนก่อน

    this is really amazing, So lets say if you have 1000000 entries in database. doing a linear search will take 1000000 operations because It will travel to each index to find but in case of Binary Search the total operation will be aroun 16! yes just 16 for n = 1000000 entries. for me It is wild to see how a simple algorithms like Binary search has such a huge effect on optimizing database operations.

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

    sir thank you so much for this vedio (pura indexing topic clear hogya)

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

    Bachpan me hum sort -1 / 1 krte the😜👏👏

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

    Baja phad diye guru amazing knowledge

    • @EngineeringDigest
      @EngineeringDigest  7 หลายเดือนก่อน

      Please consider sharing feedback on LinkedIn. 🙏🏻

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

    bachpan mai linear search ..is peak
    :))

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

    Awesome sir plz keep posting such learnings video

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

    such an amazing video bhaiya, Thankyou so much!

  • @VinayKumar-lt1sw
    @VinayKumar-lt1sw 5 หลายเดือนก่อน

    Thank you so much. Great

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

    I think what you said about expireAfterSeconds is wrong. After the time expires, documents itself gets deleted not the index. Correct me if I'm wrong

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

    You are amazing. :)
    Made this soo simple.

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

    Fantastic mongo db tutorial ✨🔥

    • @EngineeringDigest
      @EngineeringDigest  7 หลายเดือนก่อน

      Please consider sharing feedback on LinkedIn. 🙏🏻

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

    Please share the queries in the description

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

    Awesome video Guru , Love this content

  • @MuhammadAli-vy8nr
    @MuhammadAli-vy8nr ปีที่แล้ว +1

    Thanks!! for the best tutorials.

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

    Great tutorial! Thank you.

  • @user-ui8tn7wh2k
    @user-ui8tn7wh2k 2 หลายเดือนก่อน

    good explaination loved it!!!!😍

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

    very clear explanation, thank you.

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

    heyy, i have a question.. If i use compound index with a partialFilterExpression.. then can i mention another field expression for the filter which is not a part of the index for the collection ?

  • @ShubhamMittal-g1o
    @ShubhamMittal-g1o หลายเดือนก่อน

    AWSEOME !!

  • @AjayKumar-gx5rb
    @AjayKumar-gx5rb หลายเดือนก่อน

    good stuff

  • @fakedevdutt
    @fakedevdutt 6 หลายเดือนก่อน

    bhaiya please long videos me timestamps rakhte jao! pls

  • @AdarshSingh-mo1kc
    @AdarshSingh-mo1kc 10 หลายเดือนก่อน

    data structure me bachpan me padte the linear search 🤣🤣sir ham abhi bhi bacche hi hai

  • @hamzaixtic2974
    @hamzaixtic2974 10 หลายเดือนก่อน

    awesome yrr phly app kaha thyyyy

  • @Amaan-code
    @Amaan-code 2 หลายเดือนก่อน

    Nice ❤

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

    Very Nice sir ji, superb!!!

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

    DAMN GOOD VIDEO

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

    Nailed‼️

  • @jaskaran-dhaner
    @jaskaran-dhaner ปีที่แล้ว

    Beneficial, thanks for the video.

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

    Just want to say that its is best. The explanation is great

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

    Superb video sir ji ❤❤❤

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

    Wow🎉🎉

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

    Wow Jordar ❤

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

    Great explanation ❤

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

    Thank you so much

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

      You're most welcome. I have a favour to ask. Can you share this playlist on LinkedIn. It would be huge help 🤝

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

      @@EngineeringDigest definitely

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

    Thanks bro really helpful 🙏

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

    This is great!!!

  • @amranmohamed377
    @amranmohamed377 10 หลายเดือนก่อน

    Roses are red,
    Violets are blue,
    Title in English,
    But Hindi's what you do.
    Your thumbnails are tempting,
    Your tags are on cue,
    In the language of Shakespeare,
    Yet you choose Bollywood's view.
    Subscribers are clicking,
    Not a clue what you spew,
    The title's in English,
    But, my friend, so should you!

    • @EngineeringDigest
      @EngineeringDigest  10 หลายเดือนก่อน +1

      time is precious, respect it.

  • @freecodingschool7210
    @freecodingschool7210 10 หลายเดือนก่อน

    Sir what type of project we can do by javascript and mongidb. Give a concept

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

    Mazaa aagya sir🫡🫡

  • @shubhamgupta-bl1tr
    @shubhamgupta-bl1tr ปีที่แล้ว +1

    nice video, How to fetch data between two collection..like join in SQL please cover and waiting for aggregation

  • @nazmulalam1982
    @nazmulalam1982 10 หลายเดือนก่อน

    Sir clear ho gaya

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

    Best content ❤

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

    Good one bro

  • @chiragsolanki1234
    @chiragsolanki1234 7 หลายเดือนก่อน +1

    sir can you provide notes ?

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

    Bachpan me linear search 😂😂😂 abhi to sikha bhiya pichle saal binary search

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

    Awesome

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

    Amazing Video...

  • @user-xz5os9ng7s
    @user-xz5os9ng7s 5 หลายเดือนก่อน

    mongodb ka practice kaha kr skta hu?? koi achha website btaye

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

    💖💖💖💖

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

      Thanks! 😊 you can join our discord or Insta @thevipulvats.

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

    nice

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

    manna pare ga sirf collection leke itni dur a geye 😂

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

    bahut badhiya spelling hai gender ki 😂

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

    Bro Pls share the sample data of this video

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

    Great urdu !!

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

    sir thodi der dheere se and bad me jor se mat bolo... same frequency me bolo please!!!

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

    @00:19:00

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

    bachpan mein

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

    If I extract the result without using sort() "db.collection.find('age' : '10')", then should I get the result in sorted manner, as we have created index in asc order.

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

      No, if you execute the query db.collection.find('age': '10') without using the sort() method explicitly, the results will not be sorted. Creating an index on a field in ascending order does not guarantee that the query results will be automatically sorted. The purpose of an index is to improve query performance by allowing the database to quickly locate the matching documents based on the indexed field.