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
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?
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 ?
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.
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 🙏
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 ?
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 🙏
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
is there any video on composite indexing in case size is exceeding
No not yet on my channel..but I intend to talk more on topic of index in upcoming videos.. sorry about that 👍
@@Cognitive-Programmer no problem I will be happy to see that in future as I am stuck already in that soup.
Great Explaination Sir ❤️
Thank you so much for your comment 🙏
Great video, thank you so much!
Thanks a lot for your comment 🙏
How to specify two custom indexes on two different fields in the compound autocompleted query?
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
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?
Loved it
Thank you 🙏
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 ?
Hi
Thanks for your comment
Yes, to properly evaluate the performance, it needs to be checked with large dataset
Hello Sir, Is it possible to get indexStats using pymongo?
easy explaination
Thanks for your comment 🙏
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.
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 🙏
audio quality is good in this video
Thank you 🙏
awesome explanation... can you share the mongodump in the description?
Thanks for your comment 🙏
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 ?
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
Thank you
Thanks 🙏
Thanks !!
Thanks for your comment 🙏
Compound Index size seems very large
Thanks a lot
Thanks for your comment 🙏
Supposed if our document on 10th place they why mongodb search 10000 documents?
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 🙏
Limit is 64
Thanks for your comment 🙏