top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the significance of system.indexes as collection within a mongoDB database ?

0 votes
486 views
What is the significance of system.indexes as collection within a mongoDB database ?
posted Jun 20, 2015 by Vikram Singh

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

1 Answer

0 votes

In mongoDB, every database may keep multiple collections and for every database mongoDB generates system.indexes once one collection is created. System.indexes is used by mongoDB to manage collections within a database.

answer Jun 21, 2015 by Harshita
Similar Questions
+3 votes

I need a tool for rapidly recreating the proper "schema" (such as it is) of MongoDB instances between environments that pre-creates the right DB names, collections, sets collection caps, and creates the indexes for each collection. I do NOT want to copy all of the data between the instances, though. Each env I manage has different data but the DB/collection/caps/indexes are all the same. Is there an easy way to do this, preferably a tool that exports a JSON doc of all the names, caps and indexes that can then be re-ported into a new instance?

Thanks in advance

...