MongoDB Compound Index and Indexing

  Рет қаралды 18,521

Cognitive Programmer

Cognitive Programmer

Күн бұрын

Пікірлер: 37
@IdanBernard
@IdanBernard Жыл бұрын
Great video, thank you so much!
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks a lot for your comment 🙏
@msbasera
@msbasera 2 жыл бұрын
Great Explaination Sir ❤️
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thank you so much for your comment 🙏
@shreyashachoudhary480
@shreyashachoudhary480 Жыл бұрын
Loved it
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thank you 🙏
@lalitbelwal7231
@lalitbelwal7231 2 жыл бұрын
easy explaination
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
@monireol
@monireol 2 жыл бұрын
Thanks a lot
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
@Pixelflames1
@Pixelflames1 2 жыл бұрын
I'm so exited but i still have no idea how to implement it in my code or on my mongodb server through the terminal
@nizarbouali5837
@nizarbouali5837 5 ай бұрын
Thanks !!
@Cognitive-Programmer
@Cognitive-Programmer 5 ай бұрын
Thanks for your comment 🙏
@komalsingla6032
@komalsingla6032 Жыл бұрын
Sir, thank you for sharing this tutorial video. I need to ask one question -- There is one use case as how to modify index because migrating all data impacts performance. Please suggest some solutions.
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks for your comment. I don't think I understood your question but let me try. You indexes are dynamic, every time you insert a new data, your index is modified to accommodate the fast search. Hope it helps Thank 🙏
@Pray4Tony
@Pray4Tony Жыл бұрын
Thank you
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks 🙏
@lalitbelwal7231
@lalitbelwal7231 2 жыл бұрын
is there any video on composite indexing in case size is exceeding
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
No not yet on my channel..but I intend to talk more on topic of index in upcoming videos.. sorry about that 👍
@lalitbelwal7231
@lalitbelwal7231 2 жыл бұрын
@@Cognitive-Programmer no problem I will be happy to see that in future as I am stuck already in that soup.
@funnyclipz520
@funnyclipz520 2 жыл бұрын
awesome explanation... can you share the mongodump in the description?
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
@arbazahmed7748
@arbazahmed7748 Жыл бұрын
Amazing, Sir I have a question which is confusing me a lot. I hope you'll fix it for sure... I have a collection with 30M documents. each document contains 4 keys and 4 values like (Bill_id, Amount, City, Tel). How should I create indexes ? Should I use 4(square) indexes? like 36 indexes ?
@fanzhang8823
@fanzhang8823 8 ай бұрын
Just put keys and sorted field(s) into compound index, put exact march field(s) at first, then sorted filed(s) and ranch match field(s) into the index
@techshortstamil5573
@techshortstamil5573 2 жыл бұрын
Great video! Using mongoimport we have a param specifying the numinsertionworker for parallel insertion do we have a similar param in pymongo, if not do you suggest any ways that we could achieve parallel insertion using python?
@MahenderPratapSingh-c6f
@MahenderPratapSingh-c6f Жыл бұрын
hi, i have a question how can i used both direction sorting in compound index for example : i have compound index "active_1_name_1__id_1", name is used for sorting , i want to used name for ascending sorting as well as descending sorting
@reyanshspeak2847
@reyanshspeak2847 2 жыл бұрын
How to specify two custom indexes on two different fields in the compound autocompleted query?
@Vijay-Yarramsetty
@Vijay-Yarramsetty Жыл бұрын
audio quality is good in this video
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thank you 🙏
@prasadshivan79
@prasadshivan79 2 жыл бұрын
Hello Sir, Is it possible to get indexStats using pymongo?
@thirumurugand9287
@thirumurugand9287 2 жыл бұрын
Most of the time 'FETCH' step execution time will be ~0. Shouldn't we look at Actual query execution time to see performance benefit after applying the indexes ?
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Hi Thanks for your comment Yes, to properly evaluate the performance, it needs to be checked with large dataset
@monireol
@monireol 2 жыл бұрын
Limit is 64
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
@sujith5441
@sujith5441 Жыл бұрын
Compound Index size seems very large
@iampiyush100
@iampiyush100 2 жыл бұрын
Supposed if our document on 10th place they why mongodb search 10000 documents?
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment MongoDB doesn’t know if the document at the 10th place is the only document matching the criteria.. so it needs to search Hope it clarifies your question Thanks again 🙏
Mongodb Text Index | Full Text Search in MongoDB
11:19
Cognitive Programmer
Рет қаралды 20 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 121 МЛН
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 19 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 66 МЛН
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 11 МЛН
MySQL Composite Index Best Practices
16:07
High-Performance Programming
Рет қаралды 18 М.
SQL Index |¦| Indexes in SQL |¦| Database Index
9:57
Socratica
Рет қаралды 618 М.
MongoDB Schema Design Best Practices
50:39
Joe Karlsson
Рет қаралды 171 М.
How do indexes make databases read faster?
23:25
Arpit Bhayani
Рет қаралды 67 М.
Lookup in Mongodb aggregation
9:47
Hitesh Choudhary
Рет қаралды 21 М.
Evolution of the Samsung Galaxy
0:50
ios_aesthetics
Рет қаралды 7 МЛН
Игровой руль - штука годная 👍
0:50
RxFx
Рет қаралды 3,9 МЛН
Bu telefonda oyun oynamak ister misiniz?
0:15
Hakkı Alkan
Рет қаралды 1,6 МЛН
Куда пропал Kodak?
1:01
MOTIVESSION
Рет қаралды 9 МЛН