I want to create Index on Mongo database for performance prespective, so could you please help me how I can do it?
Your help will be appreciated here.
The basic syntax is:
db.collection.createIndex(keys, options)
So, for example:
$ db.users.createIndex({"username" : 1})
See MongoDB Indexes for the full details.