top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

MongoDB: What is the need of indexing and how it works ?

+3 votes
544 views
MongoDB: What is the need of indexing and how it works ?
posted Jun 27, 2015 by Harshita

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Indexing provides fast read operations for search operation. Without having indexes for a collection, takes more time comparatively having indexes. A collection which have similar type of documents, I mean to say all the documents have similar key:value pairs indexing doesn't help.

answer Jun 28, 2015 by Alok
Thanks Alok. Could you please explain a bit more using an example ?
...