-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: SAMUS
-
None
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.