Hi Randhir,
The default show collections
command should only list the collection names in the current selected database without the extra information. It is likely that your Mongo Shell is sourcing a [.mongorc.js] (https://docs.mongodb.org/manual/mongo/#mongorc-js-file) which could modify the output of your show collections
.
You should check your .mongorc.js
file and find out how the values were derived. You can also disable sourcing the mongorc.js
by running mongo —norc.
A few things that you may find useful:
mongo
.Also, currently WiredTiger is the only officially supported storage engine that supports compression for all collections and indexes. WiredTiger compression settings are also configurable on per-collection and per-index basis during collection and index creation.
If you still have any questions, it would be helpful to know:
Regards,
Wan.