top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

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

+3 votes
93 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 Google+ Share Button LinkedIn Share Button Multiple Social 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 ?
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...