What is meant by indexing in MongoDB?

To be true, after entering only the title of the question, I looked at DB indexing in the Wiki. Now I know something about indexing in general. But, nevertheless, I have some questions on MongoDB indexing.

What is indexing in MongoDB? What will this do if I index the collection? What can I do with indexing in MongoDB? Can I use it to search for specific data?

Can someone explain this using the following collection of documents in a collection in some MongoDB?

{ "_id":"das23j..", "x": "1", "y":[ {"RAM":"2 GB"}, {"Processor":"Intel i7"}, {"Graphics Card": "NVIDIA.."}]}

Thank!!!

+3
source share
1 answer

, . ( ), . , - , , ( , ). , .

, "" , , , .

mongodb . http://www.mongodb.org/display/DOCS/Indexes.

+6

Source: https://habr.com/ru/post/1777147/


All Articles