Details
-
Improvement
-
Resolution: Duplicate
-
Minor - P4
-
None
-
None
-
None
Description
I am opting to add an standard index on filename field in fs.files collection (mongo shell create statement: db.fs.files.ensureIndex(
{filename:1})). This will increase insert/update performance on GridFS files dramatically.
Of course any extra index will cost extra storage so maybe an override option to disable creation of this index might be good.