MongoDB Compound Index and Indexing

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

Cognitive Programmer

Cognitive Programmer

Күн бұрын

Пікірлер: 37
@IdanBernard
@IdanBernard Жыл бұрын
Great video, thank you so much!
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks a lot 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
@lalitbelwal7231
@lalitbelwal7231 2 жыл бұрын
easy explaination
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks 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 🙏
@Pray4Tony
@Pray4Tony Жыл бұрын
Thank you
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks 🙏
@Vijay-Yarramsetty
@Vijay-Yarramsetty Жыл бұрын
audio quality is good in this video
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thank you 🙏
@monireol
@monireol 2 жыл бұрын
Thanks a lot
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
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 🙏
@nizarbouali5837
@nizarbouali5837 5 ай бұрын
Thanks !!
@Cognitive-Programmer
@Cognitive-Programmer 5 ай бұрын
Thanks for your comment 🙏
@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
@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
@reyanshspeak2847
@reyanshspeak2847 2 жыл бұрын
How to specify two custom indexes on two different fields in the compound autocompleted query?
@funnyclipz520
@funnyclipz520 2 жыл бұрын
awesome explanation... can you share the mongodump in the description?
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
@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?
@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.
@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
@prasadshivan79
@prasadshivan79 2 жыл бұрын
Hello Sir, Is it possible to get indexStats using pymongo?
@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 🙏
@monireol
@monireol 2 жыл бұрын
Limit is 64
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment 🙏
Mongodb Text Index | Full Text Search in MongoDB
11:19
Cognitive Programmer
Рет қаралды 20 М.
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
Chapitosiki
Рет қаралды 3,3 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 48 МЛН
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 13 МЛН
MySQL Composite Index Best Practices
16:07
High-Performance Programming
Рет қаралды 18 М.
Database Indexing for Dumb Developers
15:59
Laith Academy
Рет қаралды 62 М.
What is Database Sharding?
9:05
Anton Putra
Рет қаралды 55 М.
SQL Index |¦| Indexes in SQL |¦| Database Index
9:57
Socratica
Рет қаралды 618 М.
MongoDB Schema Design Best Practices
50:39
Joe Karlsson
Рет қаралды 172 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 53 М.
Lookup in Mongodb aggregation
9:47
Hitesh Choudhary
Рет қаралды 21 М.
Clustered Collections makes Mongo faster but there is a cost
26:14
Hussein Nasser
Рет қаралды 22 М.
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
Chapitosiki
Рет қаралды 3,3 МЛН